Skip to content

Instantly share code, notes, and snippets.

@francisluong francisluong/screenrc
Last active Aug 29, 2015

Embed
What would you like to do?
Franco's screenrc
##
# Key reference
#
# C-a c -- new window
# C-a A -- rename window
# C-a <#> -- switch window
# C-a k -- kill window
# C-a h -- hardcopy
# C-a H -- toggle log
# C-a [ -- copy/paste/scroll mode
# C-a ] -- paste
# C-a : -- enter command
#
##
##
# Reference Guides
#
# http://wiki.gentoo.org/wiki/Screen
# http://aperiodic.net/screen/quick_reference
##
# #
# 256 COLOR SUPPORT
#
# Set terminfo and termcap for nice 256 color terminal
# Allow bold colors - necessary for some reason
#attrcolor b ".I"
# Tell screen how to set colors. AB = background, AF=foreground
#termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
terminfo rxvt-unicode 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
# Erase background with current bg color
#defbce "on"
# By default, screen uses an 8-color terminal emulator. Use the
# following line to enable more colors
term screen-256color
#increase scrollback buffer size
defscrollback 20000
#add custom hardstatus [host][ windows ][date/time]
hardstatus alwayslastline
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{+b m}(%{W}%n*%f%t%?(%u)%?%{m})%{-b w}%?%+Lw%?%?%= %{g}][%{c} %D %M %d %{g}%c %{g}]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.