Add bindings to search without being in copy mode first

This commit is contained in:
Kenneth Benzie 2024-03-12 19:16:30 +00:00
parent cd9e6742f4
commit 97a94ec036

View File

@ -93,6 +93,9 @@ unbind -T copy-mode-vi C-j
bind C-u copy-mode -u
# Begin selection in copy mode with v not Space
bind -T copy-mode-vi v send-keys -X begin-selection
# Search without entering copy-mode first
bind '/' 'copy-mode;send-keys /'
bind '?' 'copy-mode;send-keys ?'
# Enable mouse scrolling up in alternate buffers.
# If #{mouse_any_flag} is 1 the pane is running with mouse support, e.g. vim.