From 3542559a12f8cd7b6def63c4b5f5bfb4c3b194f6 Mon Sep 17 00:00:00 2001 From: Shawn Anderson Date: Mon, 5 Feb 2024 10:23:45 -0800 Subject: [PATCH] Install tmux version 3.1c to get c-i working in nvim. --- dotfiles/.config/tmux/keys.tmux | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dotfiles/.config/tmux/keys.tmux b/dotfiles/.config/tmux/keys.tmux index 3bbd7aa..319822e 100644 --- a/dotfiles/.config/tmux/keys.tmux +++ b/dotfiles/.config/tmux/keys.tmux @@ -112,3 +112,12 @@ bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel 'xc # The above commands use xclip, a Linux command line tool for X11. You can # replace xclip -se c -i with a platform-specific command like pbcopy (MacOS) or # wl-copy (Wayland). + + +# Fix C-i and tab +# Define the escape sequence for Ctrl-I +# set -s user-keys[0] "\x1b[105;6u" +# Bind user key 0 (Ctrl-I) to a specific tmux command or send-keys +# bind-key -n User0 send-keys "\x1b[105;6u" + +