-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathscreenrc
48 lines (34 loc) · 1020 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# turn off the initial welcome message
startup_message off
# automatically detach on terminal hangup (so that one can attach again and
# continue working)
autodetach on
# Enable 256 color support
term screen-256color
# disable flow control to prevent confusion with ctrl s appearing to freeze the terminal
defflow off
# region selection with vim keys
bind h focus left
bind j focus down
bind k focus up
bind l focus right
# region selection with arrow keys
#bindkey "^AOA" focus up
#bindkey "^AOB" focus down
#bindkey "^AOC" focus right
#bindkey "^AOD" focus left
# scroll back buffer for new windows. Default is 100 lines.
defscrollback 10000
# enables mouse selection on split mode
mousetrack on
# restore original output after exiting fullscreen programs
altscreen on
# status bar like tmux
hardstatus alwayslastline '%{= gk}%?%-w%?%n %t*%+w %= "%H" %c %d-%M-%Y'
# use current bg color for erased chars
#defbce on
deflogin on
# Use utf8 encoding
defutf8 on
# reload
#bind ^r source $HOME/.screenrc