-
Notifications
You must be signed in to change notification settings - Fork 1
/
.screenrc
64 lines (51 loc) · 1.52 KB
/
.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#status line(s)
#hardstatus alwayslastline
#hardstatus string '%{= kb}[ %=%{w}%?%-Lw%?%{b}(%{W}%n*%f %t%?(%u)%?%{b})%{w}%?%+Lw%?%?%= %{b}][%{B} %H %{W}%l %{b}][%{B} %d.%m.%Y %{W}%0c %{b}]'
#hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]'
caption always "%{= kB}[ %=%{w}%?%-Lw%?%{b}(%{W}%n*%f %t%?(%u)%?%{b})%{w}%?%+Lw%?%?%= %{B}][%{G} %H %{Y}%l %{B}][%{G} %d.%m.%Y %{Y}%0c %{B}]"
#caption alwaysignore
#scollback buffer
defscrollback 10000
defutf8 on
autodetach on
startup_message off
shell -$SHELL
shelltitle ""
#default windows
screen -t shell 1
screen -t vim 2
select 0
# bind c screen 1 #window numbering starts at 1 not 0
# bind 0 select 10
bind j focus down
bind k focus up
# 256 colors
term screen-256color
terminfo rxvt* 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
defbce on
# get rid of silly xoff stuff
# bind s split
# layouts
layout autosave on
layout new full
select 2
layout new split
select 2
split
focus down
select 1
resize 15
focus up
layout attach split
layout select split
# switch layouts with 'l' key
bind l layout prev
# r puts Screen into resize mode. Resize regions using hjkl keys.
bind r 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 -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"
vbell off
bind R eval "source $HOME/.screenrc" "echo '.screenrc reloaded!'"