summaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
Diffstat (limited to 'tmux')
-rw-r--r--tmux/tmux.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
index e932031..6224f70 100644
--- a/tmux/tmux.conf
+++ b/tmux/tmux.conf
@@ -50,6 +50,11 @@ set -g status-right '#{@hexai_status} #[fg=colour8]| %H:%M'
set -g status-right-length 120
set-environment -g HEXAI_TMUX_STATUS_THEME white-on-purple
+# Enable the extended-keys feature so tmux can distinguish modified Enter
+# keys (Shift+Enter, Ctrl+Enter, Alt+Enter) from plain Enter. Required by
+# modern terminals that send distinct escape sequences for these.
+set -g extended-keys on
+
# Use csi-u (Kitty) extended key encoding for unambiguous modifier+key combos.
# The default xterm format causes ambiguity with Ctrl/Alt/Shift combinations.
set -g extended-keys-format csi-u