Skip to content

Instantly share code, notes, and snippets.

@f0ster
Created July 31, 2013 21:08
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 f0ster/6126193 to your computer and use it in GitHub Desktop.
Save f0ster/6126193 to your computer and use it in GitHub Desktop.
screenrc
vbell off
autodetach on
nethack on
startup_message off
defscrollback 5000
altscreen on
shell -$SHELL
bindkey -k k5 prev # F5 for previous window
bindkey -k k6 next # F6 for next window
hardstatus on
hardstatus alwayslastline
hardstatus string '%{gk}[%= %{wk}%?%-Lw%?%{=b kR}(%{w}%n*%f %t%?(%u)%?%{=b kR})%{= kw}%?%+Lw%?%?%= %{g}][ %H %{..W}%m/%d %{=b kR}(%{w}%c:%s%{=b kr}) %{..G}]%{W}'
# use F8 to turn the status bar off at the bottom of the screen
bindkey -k k8 hardstatus alwayslastline
# use F9 to turn the status bar on the bottom back on
bindkey -k k9 hardstatus alwaysignore
caption string '%{gk}[%= %{wk}%?%-Lw%?%{=b kR}(%{w}%n*%f %t%?(%u)%?%{=b kR})%{= kw}%?%+Lw%?%?%= %{g}][%{Y}%l%{g}]%{W}'
#term xterm
bindkey "^[[5;2~" eval "copy" "stuff ^u"
bindkey -m "^[[5;2~" stuff ^u
bindkey -m "^[[6;2~" stuff ^d
term xterm
termcapinfo xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment