commit af3cdacab1f1b109462beba6798c8913a1fdbb42 (patch) parent f4e50f68acaa115ba0d83280fee19af00e4f2724 Author: Alex Karle <alex@alexkarle.com> Date: Sun, 4 Dec 2022 17:21:22 -0500 tmux: Move plumber to tmux-plumb to avoid name conflicts I've been playing around with a non-tmux plumber that will take the 'plumb' name! Diffstat:
M | .tmux.conf | | | 12 | ++++++------ |
R | bin/plumb -> bin/tmux-plumb | | | 0 |
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/.tmux.conf b/.tmux.conf @@ -10,19 +10,19 @@ 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/Enter splits in new window) +# plumber! `a` in copy-mode sends to the 'tmux-plumb' command (A/Enter splits in new window) # right-click also opens in the current window (a la Acme) -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}" +bind-key -T copy-mode-vi a send-keys -X copy-pipe-no-clear "tmux-plumb #{pane_current_path}" +bind-key -T copy-mode-vi A send-keys -X copy-pipe-no-clear "tmux-plumb -w #{pane_current_path}" +bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-no-clear "tmux-plumb -w #{pane_current_path}" bind-key -T root MouseDown3Pane \ select-pane \; copy-mode -M \; send-keys -X begin-selection \; \ send-keys -X previous-space \; send-keys -X other-end \; send-keys -X next-space-end \; \ - send-keys -X copy-pipe-and-cancel "plumb #{pane_current_path}" + send-keys -X copy-pipe-and-cancel "tmux-plumb #{pane_current_path}" bind-key -T copy-mode-vi MouseDown3Pane \ select-pane \; copy-mode -M \; send-keys -X begin-selection \; \ send-keys -X previous-space \; send-keys -X other-end \; send-keys -X next-space-end \; \ - send-keys -X copy-pipe-and-cancel "plumb #{pane_current_path}" + send-keys -X copy-pipe-and-cancel "tmux-plumb #{pane_current_path}" # Less delay on pressing escape (for vim) set-option -sg escape-time 10 diff --git a/bin/plumb b/bin/tmux-plumb