From 8c623e7eb98bc221105652c12e263f0a576499dc Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Tue, 2 Jun 2026 19:06:06 +0200 Subject: misc(tmux): add keybindings for selection and copy --- .config/tmux/tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 434bcf0..9f08601 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -33,6 +33,10 @@ bind-key -T prefix > swap-window -d -t +1 bind-key -T prefix r command-prompt -I "#W" { rename-window "%%" } bind-key -T prefix R command-prompt -I "#S" { rename-session "%%" } +bind-key -T copy-mode-vi v send-keys -X begin-selection +bind-key -T copy-mode-vi V send-keys -X select-line +bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel + bind-key -T root M-H select-pane -L bind-key -T root M-J select-pane -D bind-key -T root M-K select-pane -U -- cgit v1.3.1