Added Shift+Tab for session switching in GNU Screen & tmux.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 21 Nov 2020 21:25:42 +0200
changeset 952 04e8208374bd
parent 951 0f401364a9aa
child 953 72ce83eeacc1
Added Shift+Tab for session switching in GNU Screen & tmux.
.screenrc
.tmux.conf
Makefile
--- a/.screenrc	Sat Nov 21 20:40:18 2020 +0200
+++ b/.screenrc	Sat Nov 21 21:25:42 2020 +0200
@@ -31,6 +31,9 @@
 # No flow control, e.g. ^S and ^Q.
 defflow off
 
-# Ctrl+Tab and Ctrl+Shift+Tab to switch session in GNU Screen.
+# Ctrl+Tab in Mintty to switch session.
 bindkey "^[[1;5I" next
+# Ctrl+Shift+Tab in Mintty to switch session.
 bindkey "^[[1;6I" prev
+# Shift+Tab to switch session.
+bindkey "^[[Z" next
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.tmux.conf	Sat Nov 21 21:25:42 2020 +0200
@@ -0,0 +1,3 @@
+# Shift+Tab to switch session in GNU Screen.
+set -s user-keys[0] "\e[Z"
+bind-key -n User0 next-window
--- a/Makefile	Sat Nov 21 20:40:18 2020 +0200
+++ b/Makefile	Sat Nov 21 21:25:42 2020 +0200
@@ -61,7 +61,8 @@
 
 OVERRIDDEN_ITEMS := \
     .fvwm .xxkbrc .xmodmaprc .stalonetrayrc \
-    .inputrc .Xdefaults .xinitrc .xserverrc .screenrc \
+    .inputrc .Xdefaults .xinitrc .xserverrc \
+    .screenrc .tmux.conf \
     .dircolors .colordiffrc \
     .env .bashrc .bash_completion .bash_completion.d .zshrc .vimrc .ssh \
     .pylintrc .pystartup .tclshrc .npmrc .guile \