tmux: fix control-arrow keys

This commit is contained in:
joshuayuen99 2023-11-04 16:09:23 -04:00
parent b22f86551a
commit 629ede5b5a
Signed by: josh
GPG Key ID: FBE9A7AE906AD5CC
1 changed files with 10 additions and 3 deletions

View File

@ -65,15 +65,22 @@ setw -g clock-mode-colour cyan
set -g message-style bg=brightblack,fg=cyan
set -g message-command-style bg=brightblack,fg=cyan
# Fix colors
set-option -as terminal-overrides ",xterm*:Tc"
# Plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
# Terminal
set-option -g default-terminal "xterm-256color"
# Fix colors
set-option -as terminal-overrides ",xterm*:Tc"
# Add control-arrow keys support
set -s extended-keys on
set -as terminal-features "xterm*:extkeys"
# Set vi-mode
set-window-option -g mode-keys vi
# Copy-paste keybindings