-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.screenrc
More file actions
41 lines (33 loc) · 1.24 KB
/
Copy path.screenrc
File metadata and controls
41 lines (33 loc) · 1.24 KB
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
# If "/etc/utmp" is writable by screen, an appropriate record will be
# written to this file for each window, and removed when the window is
# terminated. This is useful for working with "talk", "script",
# "shutdown", "rsend", "sccs" and other similar programs that use the
# utmp file to determine who you are. As long as screen is active on
# your terminal, the terminal's own record is removed from the utmp
# file.
# This setting sets off umtp update of /etc/umtp file.
deflogin off
# the following two lines give a two-line status, with the current window highlighted
hardstatus alwayslastline
hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]'
# huge scrollback buffer
defscrollback 5000
# no welcome message
startup_message off
# default windows
screen -t Shell1 1 bash
screen -t Bash1 2 bash
screen -t Shell2 3 bash
screen -t Bash2 4 bash
#select 0
#bind c screen 1 # window numbering starts at 1 not 0
#bind 0 select 10
deflogin off
# navigating regions with Ctrl-arrows
bindkey "^[[1;5D" focus left
bindkey "^[[1;5C" focus right
bindkey "^[[1;5A" focus up
bindkey "^[[1;5B" focus down
# switch windows with F3 (prev) and F4 (next)
bindkey "^[OR" prev
bindkey "^[OS" next