.screenrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 18 Sep 2021 23:32:53 +0300
changeset 994 247f27cfcf68
parent 952 04e8208374bd
permissions -rw-r--r--
As of ~/.bashrc having space prefixed exclude pattern in HISTIGNORE no need for dedicated file, just add a symlink!


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