-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.screenrc
61 lines (52 loc) · 1.4 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
######### standard screens
screen 1
screen 2
screen 3
screen 4
screen 5
screen 6
screen 0
######### basics
autodetach on
startup_message off
######### UI
# start with visual bell as default
# vbell on
# vbell_msg "bell on %t (%n)"
# caption + hardstatus
# these settings create a two-line statusbar,
# where the top line shows the host and current directory,
# and the bottom line shows a list of windows on the left, then the host and a clock
#
# coral1: ~/src
# 0 aaron 1 scripts 2 scripts 3 bin 4 data 5 work @coral1 Tue, Jul 27 2:04:26pm
#
#
backtick 1 86400 86400 echo "$USER"
backtick 2 86400 86400 echo "$PLATFORM"
caption always "%{= bb}%{+b W}%h %="
hardstatus on
hardstatus alwayslastline
hardstatus string "%{.kW}%-w%{+b bW}%n %t%{-}%+w %=%{..G} %1`@%H [%2`] %{..Y} %D, %M %d %C:%s%a "
######### keybindings
# set the escape character
escape ^Tt
# set other handy shortcuts
bind \\ quit
bind ^\ quit
bind n next
bind ^n next
bind h prev
bind ^h prev
bindkey "^[[5D" prev
bindkey "^[[5C" next
######### other behaviors
altscreen on # use altscreen capability
defscrollback 5000 # default: 100
defencoding utf8 # default encoding is UTF-8
# termcapinfo xterm "ks=E[?1lE:kuE[A:kd=E[B:kl=E[D:kr=E[C:kh=E[5~:kH=E[F"
# Prepend/append register [/] to the paste if ^a^] is pressed.
# This lets me have autoindent mode in vi.
register [ "\033:se noai\015a"
register ] "\033:se ai\015a"
bind ^] paste [.]