root/dotfiles/screen/mrkn-screenrc

Revision 5298, 1.4 kB (checked in by mrkn, 12 months ago)

dotfiles/screen/mrkn-screenrc: for xterm-256color.

  • Property svn:keywords set to Id
Line 
1# $Id$
2
3defutf8 on
4defencoding UTF-8
5
6escape ^\\\
7
8# make the shell in every window a login shell
9shell -$SHELL
10
11# window title
12shelltitle "$ |bash"
13
14# hardstatus
15hardstatus alwayslastline "[%02c] %`%-w%{=b bw}%n %t%{-}%+w"
16
17# don't display the copyright page
18startup_message off
19
20# detach on hangup
21autodetach on
22
23# scroll back lines
24defscrollback 8192
25
26# no annoying audible bell, please
27vbell on
28
29# emulate .logout message
30pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
31
32# erase background with current bg color
33defbce on
34
35# do not use 'screen-bce'
36#term putty-256color
37term xterm-256color
38
39#############
40#
41# keybindings
42#
43
44# remove some stupid/dangerous key bindings
45bind k
46bind ^k
47bind .
48bind ^\
49bind \\
50bind ^h
51bind s
52# make them better
53bind 'K' kill
54bind 'I' login on
55bind 'O' login off
56bind '}' history
57
58# Yet another hack:
59# Prepend/append register [/] to the paste if ^a^] is pressed.
60# This lets me have autoindent mode in vi.
61register [ "\033:se noai\015a"
62register ] "\033:se ai\051a"
63bind ^] paste [.]
64
65termcapinfo xterm*|rxvt*|kterm*|Eterm*|putty* hs:ts=\E]0;:fs=\007:ds=\E]0;\007
66termcapinfo xterm*|linux*|rxvt*|Eterm*|putty* OP
67termcapinfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
68termcapinfo xterm*|rxvt*|putty* ti@:te@
69
70#termcapinfo xterm-putty    'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
71#termcapinfo putty          'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
72#termcapinfo putty-256color 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
Note: See TracBrowser for help on using the browser.