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