From 0c880910207ced8baf1374b046a5e54ff93f412f Mon Sep 17 00:00:00 2001 From: kap4102 Date: Tue, 11 Dec 2018 14:09:06 +0100 Subject: [PATCH] add screnrc --- .screenrc | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/.screenrc b/.screenrc index 568fc66..a0db3ae 100644 --- a/.screenrc +++ b/.screenrc @@ -7,25 +7,29 @@ defscrollback 5000 # no welcome message 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 -attrcolor b ".I" -termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' -defbce on +# attrcolor b ".I" +# termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' +# defbce on # mouse tracking allows to switch region focus by clicking mousetrack on # default windows -screen -t Shell1 1 zsh -screen -t Shell2 2 zsh -screen -t REPL 3 lein repl -screen -t cmus 4 cmus -screen -t emacs 5 emacs -nw -screen -t htop 6 htop -screen -t nmon 7 nmon -screen -t power 8 sudo powertop -screen -t mc 9 mc +screen -t Fish1 1 fish +screen -t Fishl2 2 fish +screen -t Zsh 3 zsh +screen -t REPL 4 lein repl +screen -t cmus 5 cmus +screen -t emacs 6 emacs -nw +screen -t htop 7 htop +screen -t nmon 8 nmon +screen -t power 9 sudo powertop +screen -t mc 0 mc select 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 kd eval "focus down" "command -c rsz" # Downhh)]]}}})} -term xterm-256color -caption string "%{03} " -rendition so =01 + term screen-256color + caption string "%{03} " + rendition so =01