diff --git a/modules/tmux/tmux.conf b/modules/tmux/tmux.conf index 1506ec1..7b1eb30 100644 --- a/modules/tmux/tmux.conf +++ b/modules/tmux/tmux.conf @@ -6,6 +6,8 @@ set -g base-index 1 setw -g pane-base-index 1 # Enable focus-events for (n)vim autoread to work in tmux set-option -g focus-events on +# Enable extended keys +set -g extended-keys on # Set terminal titles set -g set-titles on @@ -131,7 +133,7 @@ bind -n m-\} swap-window -t +1\; next-window # Vi mode set-window-option -g mode-keys vi bind -T copy-mode-vi v send -X begin-selection -bind-key -T copy-mode-vi y send -X copy-selection-and-cancel +bind-key -T copy-mode-vi y send -X copy-selection-and-cancel bind-key -T copy-mode-vi Y send-keys -X copy-pipe-and-cancel "shcopy" bind P paste-buffer unbind-key -T copy-mode-vi MouseDragEnd1Pane