On 13/08/12 8:27 PM, Sinbad wrote: > s it possible to enter text into a command by matching > the partial text in the command with the shell output just > like the autocomplete in vim using ctrl-p and ctrl-n. > > example: > > $some_cmd > some output > words more words > $out<ctrl_p> > $output > > i am not refferring to the command history, i want to be able > to autofill based on the output text.
+1 for this - I've been pondering the exact same thing. For those that use iTerm2 on the Mac, I'm thinking similar to the cmd-; functionality, but using the entire tmux scrollback buffer. Not entirely sure how this would be implemented. I suspect that it couldn't be done in-place like vim does, but would need some sort of pop-up menu with the candidate completions. Once the menu is active, the user can select a completion (or cancel), at which point the chosen completion gets pasted in via the paste-buffer mechanism. Is this functionality already available, or in some future pipeline? If not, does this approach sound worthwhile? I'd be happy to take a look at implementing this. Steve ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users