dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | README | LICENSE

commit 1c4ac443935a0b06d77b184f3492ecdd3cecec8c (patch)
parent 3443406c575228204bf73a9e578df9458e849f89
Author: Alex Karle <alex@alexkarle.com>
Date:   Sun, 27 Feb 2022 16:56:17 -0500

tmux: Plumb on Enter in copy-mode

This kinda emulates the quickfix list...

Diffstat:
M.tmux.conf | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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