-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscreenrc
62 lines (46 loc) · 2.49 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
60
61
62
# Best Goddamn screenrc in the whole world.
# Author: Seth House <[email protected]>
# Modified: 2009-09-10
# Messages ####################################################################
nethack on # be careful! new screen tonight.
sorendition "kg" # makes screen messages stand out, black on green
msgwait 2 # default message display is too long
startup_message off # boooring!
version # echo version on startup, 'cause it's nice to know
# Misc ########################################################################
autodetach on # A.K.A. the "save your bacon" option
altscreen on # full-screen programs (less, Vim) should be cleared once quit
vbell off # visual bells are hard to do right. screen's isn't good
defutf8 on # allow utf characters
defnonblock 5
defflow off # try to disable flow control (buggy)
bind s # free ctrl-s
# Also put this in your shell startup file:
# tty > /dev/null && stty -ixon -ixoff
# escape ^Ss # Use ctrl-s as the escape key or invoke with screen -e'^Ss'
# FIXME: http://web.mit.edu/gnu/doc/html/screen_14.html
# Scroll-back mode ############################################################
ignorecase on # case insensitive search in scroll-back mode
defscrollback 30000 # Use a 30000-line scrollback buffer
bufferfile $HOME/.screen-exchange # keep the buffer exchange file out of /tmp
# FIXME: http://stackoverflow.com/questions/994563/integrate-readlines-kill-ring-and-the-x11-clipboard
# Enable 256 Colors (http://frexx.de/xterm-256-notes/) ######################
#
# terminfo and termcap for nice 256 color terminal
# allow bold colors - necessary for some reason
attrcolor b ".I"
# tell screen how to set colors. AB=background, AF=foreground
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
# erase background with current bg color
defbce "on"
# Create windows on startup ###################################################
#screen -t irssi
#screen -t main
#screen -t work
#select 0
# Hardstatus ##################################################################
# Adds a nice "tabbed" look, kinda long but gracefully pushes the status stuff off-screen if need be
hardstatus alwayslastline "%{wk}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw %= %{mk}@%H %{ck}%Y-%m-%d %{yk}%D %{gk}%0c %{bk}%l"
# TODO: Detail every part of the hardstatus line below
# %{wk} - Default white on black
# EOF