diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-06-02 19:06:06 +0200 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-06-02 19:06:06 +0200 |
| commit | 8c623e7eb98bc221105652c12e263f0a576499dc (patch) | |
| tree | 5f10c6d5e9c3ea4866c564f9e2802f55cde76d49 /.config/tmux | |
| parent | b2923756b5f4b6584c98de501f0a10651a004101 (diff) | |
| download | dotfiles-8c623e7eb98bc221105652c12e263f0a576499dc.tar.gz dotfiles-8c623e7eb98bc221105652c12e263f0a576499dc.zip | |
misc(tmux): add keybindings for selection and copy
Diffstat (limited to '.config/tmux')
| -rw-r--r-- | .config/tmux/tmux.conf | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
