How do I prevent tmux from wrapping around when searching?
tmux
now has a window option wrap-search
:
wrap-search [on | off]
If this option is set, searches will wrap around the end of the pane contents. The default is on.
When this question was asked, tmux didn't have an appropriate setting, but I prepared a patch based on tmux
1.6.
Maybe worth pointing out that this is now (definitely as of tmux 1.9a since that's what I'm on) available via the wrap-search
setting:
$ man tmux | grep -B1 -A1 'will wrap'
wrap-search [on | off]
If this option is set, searches will wrap around the end
of the pane contents. The default is on.