On 14/08/12 10:41 AM, Stephen Thirlwall wrote: >[...] > I'd be happy to take a look at implementing this.
(replying to myself...) How about implementing this as a command? choose-completion [-s source-window] [-t target-window] [template] -s is the window to scrape the search-string from -t is the window to search for the completion candidates template is like the other choose-XXX commands, and defaults to "send-keys '%%'" With no arguments (eg. as a key-binding) this would search the current window for completions for the word under the cursor. The existing window-choose infrastructure would be used to present the completions. 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