Last active
August 29, 2015 14:07
-
-
Save francisluong/1ba98c39d5e399b58fd5 to your computer and use it in GitHub Desktop.
Franco's screenrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# 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