Created
June 19, 2015 08:33
-
-
Save l-modolo/e7deca9fa772aee852b4 to your computer and use it in GitHub Desktop.
.screenrc file
This file contains hidden or 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
autodetach on # autodetach on disconnect/close | |
startup_message off # disable intro msg | |
defscrollback 8000 # default scrollback buffer | |
vbell off # enable visual bell | |
#escape `` # replace C- escape sequence | |
#escape `e # double-tap backtick toggles screen windows | |
# reset escape key to the default | |
escape ^Aa | |
# auxiliary register | |
register S ^A | |
# Alt + x produces ^A and acts as an escape key | |
bindkey "^[x" process S | |
# Window numbering starts at 1 | |
bind c screen 1 | |
bind 0 select 10 | |
# load some apps (last listed will be focused) | |
#screen -t shell 3 | |
#screen -t ncmpc 4 ncmpc | |
#screen -t rtorrent 5 rtorrent | |
#screen -t htop 10 htop | |
#screen -t shell 2 | |
#screen -t shell 1 | |
defflow off # disable flow control | |
nethack on # nethackish status messages | |
altscreen on # restore window contents after a vi session | |
# term screen-256color | |
# terminfo rxvt-unicode 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' | |
# termcapinfo rxvt* ti@:te@ | |
hardstatus string "%h" | |
caption always "%{= kw} %-w%{= wk}%n*%t%{-}%+w%{= kw} %=%d %M %0c %{g}%H%{-}" | |
backtick 1 5 5 true | |
# termcapinfo rxvt* 'hs:ts=\E]2;:fs=\007:ds=\E]2;\007' | |
hardstatus string "screen (%n: %t)" | |
caption string "%{= kw}%Y-%m-%d;%c %{= kw}%-Lw%{= kG}%{+b}[%n %t]%{-b}%{= kw}%+Lw%1`" | |
caption always | |
startup_message off | |
bind 'K' kill | |
bind 'W' windowlist | |
# bind 'V' split -v | |
# F8 to turn the status bar off | |
#bindkey -k k8 hardstatus alwayslastline | |
# F9 to turn the status bar on | |
#bindkey -k k9 hardstatus alwaysignore | |
# F5 and F6 to move one screen forward or backward | |
#bind F7 to change focus | |
bindkey -k k7 focus up | |
bindkey -k k8 focus left | |
bindkey -k k5 prev | |
bindkey -k k6 next | |
bind c screen 1 | |
bind ^c screen 1 | |
bind 0 select 10 | |
screen 1 | |
shell -$SHELL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment