-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscreenrc.symlink
executable file
·64 lines (48 loc) · 1.73 KB
/
screenrc.symlink
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
# C-a :source .screenrc
termcapinfo xterm* ti@:te@
# don't display copyright
startup_message off
# tab-completion flash in heading bar
vbell off
autodetach on
altscreen on
defscrollback 10000
defutf8 on
nonblock on
attrcolor b ".I"
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
defbce "on"
shelltitle "$|bash"
termcapinfo xterm*|Eterm|mlterm|rxvt 'hs:ts=\E]0;:fs=\007:ds=\E]0;screen\007'
backtick 0 30 30 /bin/true
hardstatus alwayslastline
#hardstatus string '%{= kG}[%{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]'
hardstatus string "%{= kW} %{+b R}%H%{-}%` |%L= %-Lw%{= BW}%50L>%n %t%{-}%+Lw%50L< %-14=| %{B}%d/%m %{W}%c"
bind 'q' quit
# use F8 to turn the status bar off at the bottom of the screen
bindkey -k k8 hardstatus alwayslastline
# use F9 to turn the status bar on the bottom back on
bindkey -k k9 hardstatus alwaysignore
# the next 2 lines are set up to use F11 and F12 to move one screen forward or backward (respectively) through your screen session.
bindkey -k F1 prev
bindkey -k F2 next
# next,previous for urxvt
bindkey "^[Od" prev # ctrl-left
bindkey "^[Oc" next # ctrl-right
# ctrl-t new screen
bindkey "\024" screen -t bash
# bind F9 and F10 to scroll up and down in the copy mode
# and left other keys to programs running in screen
bindkey -k k9 eval "copy" "stuff ^u"
bindkey -k k; eval "copy" "stuff ^d"
bindkey -m -k k9 stuff ^u
bindkey -m -k k; stuff ^d
# bind PgUp and PgDn to scroll up and down in the copy mode
# and left other keys to programs running in screen
bindkey -k kP eval "copy" "stuff ^u"
bindkey -k kN eval "copy" "stuff ^d"
bindkey -m -k kP stuff ^u
bindkey -m -k kN stuff ^d
bindkey "^J" prev # ctrl-left
bindkey "^K" next # ctrl-right
select 0