tmux: fix control-arrow keys
This commit is contained in:
parent
b22f86551a
commit
629ede5b5a
|
|
@ -65,15 +65,22 @@ setw -g clock-mode-colour cyan
|
||||||
set -g message-style bg=brightblack,fg=cyan
|
set -g message-style bg=brightblack,fg=cyan
|
||||||
set -g message-command-style bg=brightblack,fg=cyan
|
set -g message-command-style bg=brightblack,fg=cyan
|
||||||
|
|
||||||
# Fix colors
|
|
||||||
set-option -as terminal-overrides ",xterm*:Tc"
|
|
||||||
|
|
||||||
# Plugins
|
# Plugins
|
||||||
set -g @plugin 'tmux-plugins/tpm'
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||||
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
|
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 vi-mode
|
||||||
set-window-option -g mode-keys vi
|
set-window-option -g mode-keys vi
|
||||||
# Copy-paste keybindings
|
# Copy-paste keybindings
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue