Skip to content

Instantly share code, notes, and snippets.

@f0ster
Created Jul 31, 2013
Embed
What would you like to do?
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