-
Notifications
You must be signed in to change notification settings - Fork 1
/
screenrc
37 lines (28 loc) · 1.07 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
# File: ~/.screenrc
#
# Deactivate the startup message of screen
startup_message off
# Vim like key bindings for moving around windows
bind j focus down # Ctl-a j goes down
bind k focus up # Ctl-a k goes up
bind l focus right # Ctl-a l goes right
bind h focus left # Ctl-a h goes left
# Bind keys for resizing
bind L resize -h +10 # Ctl-a L increase horizontally by 10
bind H resize -h -10 # Ctl-a H decrease horizontally by 10
bind K resize -v +10 # Ctl-a K increase vertically by 10
bind J resize -v -10 # Ctl-a J decrease vertically by 10
# Setup hardstatus
hardstatus off
hardstatus alwayslastline
hardstatus string '%{= .g} %H |%=%{K}%{= w}%?%{K}%-Lw%?%{r}(%{W}%{w}%n%{w}*%f%t%?(%u)%?%{r})%{w}%?%{K}%+Lw%?%= %{g}|%{B} %m-%d %{W}%c %{g} '
# Fix for residual editor text
altscreen on
# Fix for Name column in windowlist only show "bash"
windowlist string "%4n %h%=%f"
# Indicate 256 color screen
term screen-256color
# Bind Ctrl+A f or F for activating/deactivating hardstatus line
bind f eval "hardstatus ignore"
bind F eval "hardstatus alwayslastline"
# EOF