.screenrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 21 Nov 2020 21:25:42 +0200
changeset 952 04e8208374bd
parent 472 75161fbbc814
permissions -rw-r--r--
Added Shift+Tab for session switching in GNU Screen & tmux.


startup_message off

# Use backtick instead of C+a as this makes more sense for emacs.
escape ``
# Use C-z instead of C-a.
# escape ^zz

term xterm-256color

shell bash

# Autodetach session on hangup instead of terminating screen completely.
autodetach on

# If a window goes unresponsive, don't block the whole session waiting for it.
nonblock on

# Window numbering starts at 1, not 0.
bind c screen 1
bind 0 select 10

# Define a bigger scrollback, default is 100 lines.
defscrollback 10000

vbell on

# Tell screen to ignore the case of characters in searches.
ignorecase on

# No flow control, e.g. ^S and ^Q.
defflow off

# 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