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 # F2 puts Screen into resize mode. Resize regions using hjkl keys. bindkey "^[OQ" eval "command -c rsz" # enter resize mode # use hjkl keys to resize regions bind -c rsz h eval "resize -h -5" "command -c rsz" bind -c rsz j eval "resize -v -3" "command -c rsz" bind -c rsz k eval "resize -v +3" "command -c rsz" bind -c rsz l eval "resize -h +5" "command -c rsz" # https://gist.github.com/joaopizani/2718397