From 6a7bc6e6c27e8d32a86f7cf05cc114bab628dbeb Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Thu, 18 Apr 2024 03:42:37 +0200 Subject: [PATCH] Turned on vi-mode for tmux --- tmux/dot-tmux.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tmux/dot-tmux.conf b/tmux/dot-tmux.conf index 4dc468c..3261df2 100644 --- a/tmux/dot-tmux.conf +++ b/tmux/dot-tmux.conf @@ -8,6 +8,12 @@ set -s escape-time 0 set-window-option -g xterm-keys on set-option -g focus-events on +# Setup vi-mode with better keybindings +# TODO: Escape does not work properly for leaving +setw -g mode-keys vi +bind -T copy-mode-vi v send -X begin-selection +bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel + # Change leader unbind C-b set -g prefix C-a