Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
.screenrc file
# http://www.gnu.org/software/screen/manual/html_node/Command-Summary.html#Command-Summary
# Turn off start message
startup_message off
termcapinfo rxvt-unicode 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
term screen
# Message to display in the status line when activity is detected in a
# monitored window.
activity "activity in %n (%t) [%w:%s]~"
# Detach session on hangup instead of terminating screen completely.
autodetach on
altscreen on
# do highlight current display
sorendition 04 07
hardstatus alwayslastline "%-Lw%{+r}%50> %n%f %t %{-}%+Lw%< %-= %H | %{= kw}%0c, %d/%m/%y%{-} "
# starts with 1 instead of 0
screen -t " bash" 1
bind c screen 1
# VIM like bindings
bind j focus down
bind k focus up
bind t focus top
bind b focus bottom
# bind h prev
# bind l next
# bind ^l next
# bind P paste
# bind K quit
# bind -c shiftalt C next
# bind -c shiftalt D prev
# bindkey ^[^[O command -c shiftalt # PuTTY Alt
# bindkey ^[[c next
# bindkey ^[[d prev
# bindkey ^[Oc next
# bindkey ^[Od prev
# bindkey "q" quit
# bindkey "w" eval kill
# bindkey "t" screen 1
# bindkey "" next
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment