Skip to content

Instantly share code, notes, and snippets.

@rummelonp
Created October 23, 2015 10:11
Show Gist options
  • Save rummelonp/4de31fc01a4cf83a1263 to your computer and use it in GitHub Desktop.
Save rummelonp/4de31fc01a4cf83a1263 to your computer and use it in GitHub Desktop.
## Basic
startup_message off
altscreen on
term screen-256color
escape ^Zz
## Message
msgwait 2
msgminwait 1
## Scroll buffer
defscrollback 10000
markkeys h=^B:l=^F:$=^E
## Keybinds
bindkey ^t focus
bind ^r source $HOME/.screenrc
bind ^w windowlist
bind ^s colon 'number '
bind ^b colon 'select '
bind 1 only
bind 2 split
bind ^^ resize +5
bind \^ resize -5
## Local configuration
source .screenrc.local
## Default
shell $SHELL
chdir
## Status (cyan)
sorendition '+rb .c'
# {focus?(cyan/black: white/black): window number: window flag: window title}
caption always '%?%F%{= ck}%:%{= wk}%?%2n%f%07=%t%='
# {default/cyan: host} {default/white: -windows}{underline/cyan/black: window number: window title}{default/white: +windows} {default/white: Y/m/d H:M:S}
hardstatus alwayslastline '%{= .c}%H%{-} %L=%-w%45L>%{=u ck}%n %t%{-}%+w %-19<%=%Y/%m/%d %02c:%s'
## Keybinds
bindkey ^x command -c emacs
bind -c emacs ^e exec open -a emacs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment