On Sun, 30 Apr 2017 20:35:05 +0100, Nicholas Marriott wrote: > There is no search string when you are not in copy mode.
Thanks for clarifying. Then this copy-mode binding should work, right?
bind-key -T copy-mode-vi ? \
command-prompt -i -p 'search up' -I '#{pane_search_string}' \
'send -X search-backward-incremental "%%%"'
However, even though I trigger the above key binding from copy-mode, the
underlying command-prompt command expands pane_search_string to nothing.
--
You received this message because you are subscribed to the Google Groups
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
pgpKZpyD11IDI.pgp
Description: OpenPGP digital signature
