From 164dffc5eb1f952325df093a1f22b91d1d97ff99 Mon Sep 17 00:00:00 2001 From: David Ibia Date: Tue, 6 Oct 2026 23:02:29 +0100 Subject: [PATCH] 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. --- .tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index f1aa6c2..e0c108e 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,6 +1,10 @@ set -g mouse on bind r source-file ~/.tmux.conf 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 -g focus-events on set-window-option -g mode-keys vi