Skip to content

Instantly share code, notes, and snippets.

@elvinio
Created May 31, 2016 10:04
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 elvinio/7b8e75bf97bf7c21f50b8fb9d8771a20 to your computer and use it in GitHub Desktop.
Save elvinio/7b8e75bf97bf7c21f50b8fb9d8771a20 to your computer and use it in GitHub Desktop.
Screenrc
startup_message off
#turn off visual bell
vbell off
shelltitle '> |'
maptimeout 5
#remove vim buffer when done
altscreen on
#term xterm
#term screen-256color
#attrcolor b ".I"
#termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E38;5;%dm'
#defbce "on"
# disable escape s
bind S
# Bind F11 and F12 (NOT F1 and F2) to previous and next screen window
bindkey -k F1 prev
bindkey -k F2 next
backtick 1 0 5 pwd
#escape `~
#escape ^~`
#caption always "%{= kw}%-w%{= BW}%n %t%{-}%+w %-= @%H - %LD %d %LM - %c"
#caption always "%?%F%{= Kk}%:%{=u kR}%? %h %-024=%{+b} %C%a %D %d %M %Y%{= db}"
#hardstatus alwayslastline "%{= kR} %-Lw%{=b Kk} %n%f %t %{-}%+Lw %=%{= dd}"
hardstatus alwayslastline
# Very nice tabbed colored hardstatus line
#hardstatus string '%{= Kd} %{= Kd}%-w%{= Kr}[%{= KW}%n %t%{= Kr}]%{= Kd}%+w %-= %{KG} %H%{KW}|%{KY}%101`%{KW}|%D %M %d %Y%{= Kc} %C%A%{-}'
#hardstatus string "%{= KW} %H %{= Kw}|%{-} %-Lw%{= bW}%n %t%{-}%+Lw %=%C%a %Y-%M-%d"
hardstatus string "%{= KW} %H %{= Kw}|%{-} %-w%{= bW}%n %t%{-}%+w %=%D %M %d %Y%{= Kc} %C:%s%A%{-}"
msgminwait 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment