Open mMontu opened 9 years ago
First of all, thank you for sharing this great plugin!
I'm used to make several searches after entering copy-mode. For instance (without the plugin):
<prefix>[
?foo<CR>
?<BS><BS><BS>bar<CR>
With copycat the second search above uses the default search mechanism. The following bind allows to replace the default search:
bind / run-shell /home/mmontu/.tmux/plugins/tmux-copycat/scripts/copycat_search.sh
But I try to use copycat to do the second search it seems that it ignore the second input and repeat the first search (even without the bind):
<prefix>/foo<CR>
<prefix>/bar<CR>
Can confirm this, it can be fixed by calling scripts/copycat_mode_quit.sh before scripts/copycat_mode_start.sh and scripts/copycat_search.sh in copycat.tmux
scripts/copycat_mode_quit.sh
scripts/copycat_mode_start.sh
scripts/copycat_search.sh
copycat.tmux
First of all, thank you for sharing this great plugin!
I'm used to make several searches after entering copy-mode. For instance (without the plugin):
<prefix>[
-- enter copy-mode?foo<CR>
-- regular search for 'foo'?<BS><BS><BS>bar<CR>
-- regular search for 'bar'With copycat the second search above uses the default search mechanism. The following bind allows to replace the default search:
But I try to use copycat to do the second search it seems that it ignore the second input and repeat the first search (even without the bind):
<prefix>/foo<CR>
-- search for 'foo'<prefix>/bar<CR>
-- search for second occurrence of 'foo' instead of 'bar'