2013-09-09 00:10:05 -04:00
|
|
|
# personal screenrc - mikegerwitz
|
|
|
|
#
|
|
|
|
# This configuration file is provided in the hope that it will be helpful in
|
|
|
|
# configuring your own software, but WITHOUT ANY WARRANTY. Please be mindful of
|
|
|
|
# what is executing on your system.
|
|
|
|
|
|
|
|
#
|
|
|
|
# backtick commands
|
|
|
|
#
|
|
|
|
backtick 1 1 1 date '+%Y-%m-%d %H:%M:%S'
|
2013-09-26 15:22:52 -04:00
|
|
|
backtick 2 999999 999999 whoami
|
2013-09-09 00:10:05 -04:00
|
|
|
|
|
|
|
backtick 50 59 59 .screen/ssh-agent-key
|
|
|
|
backtick 51 59 59 .screen/secstat
|
|
|
|
|
|
|
|
backtick 100 3 3 .screen/load-avg
|
|
|
|
backtick 101 0 0 .screen/mail
|
|
|
|
backtick 102 287 287 .screen/weather
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# vim-style keybindings
|
|
|
|
#
|
|
|
|
bind j focus down
|
|
|
|
bind k focus up
|
|
|
|
bindkey -k k2 screen htop
|
|
|
|
bindkey -k k3 screen $EDITOR
|
2015-07-07 23:04:37 -04:00
|
|
|
bindkey -k k4 screen emacs -gnus
|
2013-09-09 00:10:05 -04:00
|
|
|
|
2014-11-01 20:09:03 -04:00
|
|
|
# no delay in sending keys (especially ESC)
|
|
|
|
maptimeout 0
|
|
|
|
|
2013-09-09 00:10:05 -04:00
|
|
|
#
|
|
|
|
# general options
|
|
|
|
#
|
|
|
|
startup_message off
|
|
|
|
compacthist off
|
|
|
|
altscreen on
|
|
|
|
fit
|
|
|
|
|
|
|
|
attrcolor b ".i"
|
|
|
|
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
|
2014-11-01 20:09:52 -04:00
|
|
|
term screen-256color
|
2013-09-09 00:10:05 -04:00
|
|
|
defbce "on"
|
|
|
|
|
|
|
|
# memory is cheap
|
|
|
|
defscrollback 10000
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# status lines
|
|
|
|
#
|
|
|
|
hardstatus alwayslastline
|
2013-09-26 15:22:52 -04:00
|
|
|
caption always "%{= kw}%-Lw%?%F%{= KW}%:%{+ .W}%?%n*%f %t%{-}%+Lw %= %?%F%{+b}%?%2`@%H%{-}%?%{-}"
|
2013-09-09 00:10:05 -04:00
|
|
|
hardstatus string "%{= kw}%{+b}Happy Hacking%{-}%50`%51` %= %101` %100` %102` %1`%{-}"
|
|
|
|
sorendition "= kW"
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# source any local configs at the end of all this so that the settings in there
|
|
|
|
# will override the settings here (this is needed, for example, because I have
|
|
|
|
# certain status indicators that I may use at work that differ from my personal
|
|
|
|
# PC)
|
|
|
|
#
|
|
|
|
source .screenrc-local
|