From 1c4ac443935a0b06d77b184f3492ecdd3cecec8c Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Sun, 27 Feb 2022 16:56:17 -0500 Subject: [PATCH] tmux: Plumb on Enter in copy-mode This kinda emulates the quickfix list... --- .tmux.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index dd6a09e..cbb4101 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -10,9 +10,10 @@ set-option -g prefix C-a unbind-key C-b bind-key C-a send-prefix -# plumber! `a` in copy-mode sends to the 'plumb' command (A splits above) +# plumber! `a` in copy-mode sends to the 'plumb' command (A/Enter splits in new window) bind-key -T copy-mode-vi a send-keys -X copy-pipe-no-clear "plumb #{pane_current_path}" bind-key -T copy-mode-vi A send-keys -X copy-pipe-no-clear "plumb -w #{pane_current_path}" +bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-no-clear "plumb -w #{pane_current_path}" # Less delay on pressing escape (for vim) set-option -sg escape-time 10 -- libgit2 1.1.1