dotfiles/screen/common.screenrc

24 lines
851 B
Plaintext

altscreen on
term screen-256color
# Huge scrollback
defscrollback 16000
# Binding window switching to "<" and ">" keys
bind ',' prev
bind '.' next
# use hjkl keys to resize regions
#bind -c rsz h eval "resize -h -5" "command -c rsz"
#bind -c rsz j eval "resize -v -5" "command -c rsz"
#bind -c rsz k eval "resize -v +5" "command -c rsz"
#bind -c rsz l eval "resize -h +5" "command -c rsz"
hardstatus alwayslastline
# http://www.gnu.org/software/screen/manual/html_node/String-Escapes.html
#
# %H : hostname
# %= : expand to fill all space (used here to make remaining content flush right)
# %` : print output of 'backtick' command (defined elsewhere in .screenrc)
#hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][ %1` ][ %2` ][ %3` ][ %4` ][%{B} %d-%m-%Y %{W}%c %{g}]'