diff --git a/dotfiles/tmux.conf b/dotfiles/tmux.conf index 9ecde4c..5638e50 100644 --- a/dotfiles/tmux.conf +++ b/dotfiles/tmux.conf @@ -3,6 +3,11 @@ set -g prefix C-a unbind C-b bind C-a send-prefix +# VIM mode +set-window-option -g mode-keys vi +bind-key -T copy-mode-vi 'v' send -X begin-selection +bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel + # force a reload of the config file unbind r bind r source-file ~/.tmux.conf