dotfiles

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

commit ab1ac6766457bcb2302490a354db3f12b49e99e4
parent 6e61c083c292501685712881d8ca4210e49faaa9
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Mon, 11 Jan 2021 23:57:11 +0100

tmux: also use 'y' to yank

Diffstat:
Mtmux/tmux-dark.conf | 3+++
Mtmux/tmux-light.conf | 5++++-
2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/tmux/tmux-dark.conf b/tmux/tmux-dark.conf @@ -67,6 +67,9 @@ bind-key -T copy-mode-vi 'u' send-keys -X copy-selection \; new-window -n youtub # Cancel bind-key -T copy-mode-vi 'i' send-keys -X cancel + +# Copy +bind-key -T copy-mode-vi 'y' send-keys -X copy-selection-and-cancel # }}} # Windows {{{ diff --git a/tmux/tmux-light.conf b/tmux/tmux-light.conf @@ -63,10 +63,13 @@ 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 + +# Copy +bind-key -T copy-mode-vi 'y' send-keys -X copy-selection-and-cancel +# }}} # Windows {{{ # Vertical split