From 97a94ec03665ff9ab2ffd8ef4cb7f523547f3ef8 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Tue, 12 Mar 2024 19:16:30 +0000 Subject: [PATCH] Add bindings to search without being in copy mode first --- tmux.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tmux.conf b/tmux.conf index d7c81bb..b4db00d 100644 --- a/tmux.conf +++ b/tmux.conf @@ -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.