forked from adam8157/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.screenrc
53 lines (38 loc) · 883 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
48
49
50
51
52
53
# Set encoding
defutf8 on
# Disable vbell
vbell off
# Disable login
deflogin off
# Dynamic title
shelltitle '$ |bash'
# Caption String
caption always "%{= R}[ %{=b b}%-w%{=rb db}%>%n %t%{-}%+w%{-b}%< %=%{R}]"
# Set scrollback
defscrollback 102400
# Startup message
startup_message off
# Keyboard binding
bind s
bindkey -k F1 prev
bindkey -k F2 next
# Set xterm's title
hardstatus off
hardstatus string "screen(@%H): %t"
termcapinfo xterm* 'hs:ts=\E]0;:fs=\007:ds=\E]0;\007'
# Set $TERM variable
term screen-256color
# Set message timeout
msgwait 2
# Set mapping timeout
maptimeout 10
# Automatically detach upon hangup
autodetach on
# Make the xterm scroller work in screen
termcapinfo xterm* ti@:te@
# Refresh the display when exiting programs
altscreen on
# Sessions (Placed at the end of screenrc will be better)
#screen
#screen -t mutt mutt
#screen -t irssi irssi