Skip to content

Instantly share code, notes, and snippets.

@telatin
Created June 23, 2020 09:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save telatin/66fab72e9bf0dda9984cad8d97c6174b to your computer and use it in GitHub Desktop.
Save telatin/66fab72e9bf0dda9984cad8d97c6174b to your computer and use it in GitHub Desktop.
GNU screen configuration file (~/.screenrc)
# Bind F11 and F12 (NOT F1 and F2) to previous and next screen window
bindkey -k F1 prev bindkey -k F2 next startup_message off
# Window list at the bottom.
hardstatus alwayslastline
hardstatus string "%-w%{= BW}%50>%n %t%{-}%+w%< | %c | %D %d"
# Enable mouse scrolling and scroll bar history scrolling
termcapinfo xterm* ti@:te@
# I often have more than 10 windows running and wanted a way to select them.
# To configure C-a Shift+0 through 9 to select windows 10 through 19.
bind ! select 11
bind @ select 12
bind \# select 13
bind $ select 14
bind % select 15
bind \^ select 16
bind & select 17
bind * select 18
bind ( select 19
bind ) select 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment