.screenrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 01 Jan 2024 20:53:49 +0200
changeset 1039 78cdb4a057e3
parent 952 04e8208374bd
permissions -rw-r--r--
Create symlink from ~/.bash_profile for login shell to activate my ~/.bashrc.


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