mirror of
https://github.com/boxpositron/absolute-dotfiles.git
synced 2026-10-24 08:23:19 +00:00
feat(tmux): enable extended keys so TUIs receive modified keys
omo and nvim need Shift+Enter and other modified keys, which tmux otherwise reports as plain Enter. Use CSI-u extended keys, as omo's tmux guide recommends for tmux 3.5 and newer.
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
set -g mouse on
|
set -g mouse on
|
||||||
bind r source-file ~/.tmux.conf
|
bind r source-file ~/.tmux.conf
|
||||||
set-option -a terminal-features 'xterm*:RGB'
|
set-option -a terminal-features 'xterm*:RGB'
|
||||||
|
# Extended keys so TUIs (omo, nvim) receive Shift+Enter and other modified keys
|
||||||
|
set -g extended-keys on
|
||||||
|
set -g extended-keys-format csi-u
|
||||||
|
set-option -a terminal-features 'xterm*:extkeys'
|
||||||
set-option -sg escape-time 10
|
set-option -sg escape-time 10
|
||||||
set-option -g focus-events on
|
set-option -g focus-events on
|
||||||
set-window-option -g mode-keys vi
|
set-window-option -g mode-keys vi
|
||||||
|
|||||||
Reference in New Issue
Block a user