12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- 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
- bind -k kl focus left
- bind -k kd focus down
- bind -k ku focus up
- bind -k kr focus right
- bind h focus left
- bind j focus down
- bind k focus up
- bind l focus right
- # resizing regions
- 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 eval "command -c resize" "echo resize"
- # https://gist.github.com/joaopizani/2718397
|