add screnrc

This commit is contained in:
2018-12-11 14:09:06 +01:00
parent 4d41724f47
commit 0c88091020

View File

@@ -7,25 +7,29 @@ defscrollback 5000
# no welcome message # no welcome message
startup_message off startup_message off
# attrcolor b ".I" # allow bold colors - necessary for some reason
# termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' # tell screen how to set colors. AB = background, AF=foreground
# defbce on # use current bg color for erased chars
# 256 colors # 256 colors
attrcolor b ".I" # attrcolor b ".I"
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' # termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
defbce on # defbce on
# mouse tracking allows to switch region focus by clicking # mouse tracking allows to switch region focus by clicking
mousetrack on mousetrack on
# default windows # default windows
screen -t Shell1 1 zsh screen -t Fish1 1 fish
screen -t Shell2 2 zsh screen -t Fishl2 2 fish
screen -t REPL 3 lein repl screen -t Zsh 3 zsh
screen -t cmus 4 cmus screen -t REPL 4 lein repl
screen -t emacs 5 emacs -nw screen -t cmus 5 cmus
screen -t htop 6 htop screen -t emacs 6 emacs -nw
screen -t nmon 7 nmon screen -t htop 7 htop
screen -t power 8 sudo powertop screen -t nmon 8 nmon
screen -t mc 9 mc screen -t power 9 sudo powertop
screen -t mc 0 mc
select 0 select 0
bind c screen 1 # window numbering starts at 1 not 0 bind c screen 1 # window numbering starts at 1 not 0
@@ -88,6 +92,6 @@ bind -c rsz -k kr eval "focus right" "command -c rsz" # Right
bind -c rsz -k ku eval "focus up" "command -c rsz" # Up bind -c rsz -k ku eval "focus up" "command -c rsz" # Up
bind -c rsz -k kd eval "focus down" "command -c rsz" # Downh<o resize regions>h</o>)]]}}})} bind -c rsz -k kd eval "focus down" "command -c rsz" # Downh<o resize regions>h</o>)]]}}})}
term xterm-256color term screen-256color
caption string "%{03} " caption string "%{03} "
rendition so =01 rendition so =01