dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 10d636c2d1bcb4398f73920763a6bf26b4593ea8
parent 0f24de55a53dd8e0902d2b01443e1c5754008e80
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Mon, 11 Jan 2021 12:05:57 +0100

tmux: allow leaving copy mode with 'i' like in Vim

Diffstat:
Mtmux/tmux-dark.conf | 3+++
Mtmux/tmux-light.conf | 3+++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/tmux/tmux-dark.conf b/tmux/tmux-dark.conf @@ -64,6 +64,9 @@ bind -T copy-mode-vi 'Y' send-keys -X copy-selection \; run-shell "tmux show-buf # Search youtube bind-key -T copy-mode-vi 'u' send-keys -X copy-selection \; new-window -n youtube \; send-keys -t youtube 'pipe-viewer "$(tmux show-buffer)" && tmux kill-window' 'Enter' + +# Cancel +bind-key -T copy-mode-vi 'i' send-keys -X cancel # }}} # Windows {{{ diff --git a/tmux/tmux-light.conf b/tmux/tmux-light.conf @@ -64,6 +64,9 @@ bind -T copy-mode-vi 'Y' send-keys -X copy-selection \; run-shell "tmux show-buf # Search youtube bind-key -T copy-mode-vi 'u' send-keys -X copy-selection \; new-window -n youtube \; send-keys -t youtube 'pipe-viewer "$(tmux show-buffer)" && tmux kill-window' 'Enter' # }}} + +# Cancel +bind-key -T copy-mode-vi 'i' send-keys -X cancel # Windows {{{ # Vertical split