.screenrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sun, 30 Dec 2018 12:26:48 +0200
changeset 915 691db6af02e4
parent 472 75161fbbc814
child 952 04e8208374bd
permissions -rw-r--r--
Change rules size only on SIGWINCH. $COLUMNS isn't updated on SIGWINCH yet so "tput" is used. For better performance ruler is calculated by substring. Moving ruler handler to trap cleans console from garbage when "set -x" is set in interactive session. It is useful during debugging of bash completion.


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 and Ctrl+Shift+Tab to switch session in GNU Screen.
bindkey "^[[1;5I" next
bindkey "^[[1;6I" prev