-
Notifications
You must be signed in to change notification settings - Fork 0
/
.screenrc
32 lines (26 loc) · 977 Bytes
/
.screenrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# GNU SCREEN
# https://www.gnu.org/software/screen/manual/screen.html
startup_message off # Turn welcome message off
vbell off # Turn off visual bell
term screen-256color # Use 256 colors
truecolor on # 24bits - True color
altscreen on # Fix for residual editor text
msgwait 3 # message display duration
defscrollback 5000 # Increase the scrollback buffer
hardstatus alwayslastline "%{= kb}[ %1` ]%= %{= kw}%?%-w%?%{r}(%{g} %n %t%?(%u)%?%{r} )%{w}%?%+w%?%?%= [%{Y} %d/%m %{Y}%c %{W}]" # statusline
backtick 1 30 30 sh -c 'screen -ls | grep -i attached | cut -f 2 -d '.' | cut -f1' # session title
# Getting rid of the vertical and horizontal bars
rendition so =00
caption string "%{03} "
# hardcopydir: The directory which contains all hardcopies.
hardcopydir ~/.config/screen
bufferfile ~/.config/screen/buffer
# Windows
screen -t tune cmus
screen -t personal bash
screen -t projects bash
screen -t adhoc bash
# Resize
bind = resize =
bind + resize +3
bind - resize -3