2017-11-22 00:27:43 +00:00
|
|
|
altscreen on
|
|
|
|
term screen-256color
|
2017-08-30 11:07:36 +00:00
|
|
|
|
|
|
|
# Huge scrollback
|
2017-11-21 22:52:04 +00:00
|
|
|
defscrollback 16000
|
2017-08-30 11:07:36 +00:00
|
|
|
|
2017-11-22 00:27:43 +00:00
|
|
|
# Binding window switching to "<" and ">" keys
|
2017-08-30 11:07:36 +00:00
|
|
|
bind ',' prev
|
|
|
|
bind '.' next
|
|
|
|
|
2017-11-22 00:27:43 +00:00
|
|
|
# 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"
|
2017-08-30 11:07:36 +00:00
|
|
|
|
2017-11-22 00:27:43 +00:00
|
|
|
hardstatus alwayslastline
|
2017-08-30 11:07:36 +00:00
|
|
|
|
|
|
|
# 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)
|
2017-11-22 00:27:43 +00:00
|
|
|
#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}]'
|