123456789101112131415161718192021222324252627282930313233343536373839404142 |
- hardstatus alwayslastline
- hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][screen %S][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%d.%m. %{W}%c%{g}]'
- defscrollback 10000
- # no welcome message
- startup_message off
- # 256 colors
- 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
- # enable use of the mouse's scrollwheel to scroll through the scrollback buffer
- # http://unix.stackexchange.com/questions/43229/is-there-a-way-to-make-screen-scroll-like-a-normal-terminal
- # http://stackoverflow.com/questions/359109/using-the-scrollwheel-in-gnu-screen
- # termcapinfo xterm* ti@:te@
- # termcapinfo xterm 'hs:ts=\E]2;:fs=07:ds=\E]2;screen07'
- # layouts
- layout autosave on
- # navigating regions with Ctrl-arrows
- bindkey "^[[1;5D" focus left
- bindkey "^[[1;5C" focus right
- bindkey "^[[1;5A" focus up
- bindkey "^[[1;5B" focus down
- # region resize
- bind -c resize h eval "resize -h -5" "command -c resize"
- bind -c resize j eval "resize -v +3" "command -c resize"
- bind -c resize k eval "resize -v -3" "command -c resize"
- bind -c resize l eval "resize -h +5" "command -c resize"
- bind -c resize -k kl eval "resize -h -5" "command -c resize"
- bind -c resize -k kd eval "resize -v +3" "command -c resize"
- bind -c resize -k ku eval "resize -v -3" "command -c resize"
- bind -c resize -k kr eval "resize -h +5" "command -c resize"
- bind R command -c resize
- # https://gist.github.com/joaopizani/2718397
|