From b5155231cf21120bc493288987d77c204a7d238d Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Sun, 27 Jun 2021 20:05:30 -0400 Subject: [PATCH] ENH don't use backtab --- dot_config/X11/xresources | 4 +++- dot_config/tmux/tmux.conf.tmpl | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/dot_config/X11/xresources b/dot_config/X11/xresources index e0170d5..9121a20 100644 --- a/dot_config/X11/xresources +++ b/dot_config/X11/xresources @@ -89,4 +89,6 @@ URxvt.keysym.Control-B: perl:clipboard:paste_escaped ! The main reason for this is that I really really wanted to use C-Tab in tmux ! but also did not want to use xterm since urxvt is lighter and awesome-r URxvt.keysym.C-Tab: \033[27;5;9~ -URxvt.keysym.C-ISO_Left_Tab: \033[Z +! make shift-tab send M-F12 since I there appears to not be anything for this +! even in extended keys from xterm +URxvt.keysym.C-ISO_Left_Tab: \033\033[24~ diff --git a/dot_config/tmux/tmux.conf.tmpl b/dot_config/tmux/tmux.conf.tmpl index b763625..532e12b 100644 --- a/dot_config/tmux/tmux.conf.tmpl +++ b/dot_config/tmux/tmux.conf.tmpl @@ -31,9 +31,9 @@ bind | split-window -h # window navigation bind -n C-Tab next-window -bind -n BTab previous-window # idk if there is even an extended sequence for Shift-Tab +bind -n M-F12 previous-window # use this since BTab = S-Esc (even in extended keys) bind C-Tab swap-window -t +1 \; next-window -bind BTab swap-window -t -1 \; previous-window +bind M-F12 swap-window -t -1 \; previous-window bind -n M-| choose-window "join-pane -h -t '%%'" bind -n M-- choose-window "join-pane -v -t '%%'"