Skip to content

Commit

Permalink
feat(tmux): enable extended keys
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Oct 12, 2024
1 parent 384c2d4 commit 62866cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/tmux/tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 62866cf

Please sign in to comment.