Update from eponine -- new screenrc, et al
git-svn-id: http://photonzero.com/dotfiles/trunk@24 23f722f6-122a-0410-8cef-c75bd312dd78
This commit is contained in:
parent
4476597643
commit
29c7fd1814
7 changed files with 83 additions and 25 deletions
39
.screenrc
39
.screenrc
|
|
@ -37,20 +37,20 @@ bind ^F process f
|
|||
|
||||
# make split more convenient: it now brings up the previous window
|
||||
# instead of a blank one, and it leaves the cursor in the new region
|
||||
register S "^O:split^M^O^I^O^O"
|
||||
register S "^A:split^M^A^I^A^A"
|
||||
bind S process S
|
||||
|
||||
# bind generic function keys to switch windows
|
||||
bindkey -k k0 select 9
|
||||
bindkey -k k1 select 0
|
||||
bindkey -k k2 select 1
|
||||
bindkey -k k3 select 2
|
||||
bindkey -k k4 select 3
|
||||
bindkey -k k5 select 4
|
||||
bindkey -k k6 select 5
|
||||
bindkey -k k7 select 6
|
||||
bindkey -k k8 select 7
|
||||
bindkey -k k9 select 8
|
||||
bindkey -k k0 select 0
|
||||
bindkey -k k1 select 1
|
||||
bindkey -k k2 select 2
|
||||
bindkey -k k3 select 3
|
||||
bindkey -k k4 select 4
|
||||
bindkey -k k5 select 5
|
||||
bindkey -k k6 select 6
|
||||
bindkey -k k7 select 7
|
||||
bindkey -k k8 select 8
|
||||
bindkey -k k9 select 9
|
||||
#bindkey -k k; select 0
|
||||
|
||||
bindkey "\033[[A" select 1
|
||||
|
|
@ -82,7 +82,7 @@ bindkey "\033[15~" select 5
|
|||
bindkey -k kD stuff \177
|
||||
|
||||
# by default, always let me know when background windows produce text
|
||||
defmonitor on
|
||||
#defmonitor on
|
||||
|
||||
# don't lock up when one display dies
|
||||
defnonblock on
|
||||
|
|
@ -108,7 +108,7 @@ msgwait 15
|
|||
nethack on
|
||||
|
||||
# use nifty cool dynamic window title updating
|
||||
shelltitle "$ |bash"
|
||||
shelltitle "$ |zsh"
|
||||
|
||||
# by default, wait an entire minute before deciding a window is silent
|
||||
silencewait 60
|
||||
|
|
@ -118,7 +118,7 @@ startup_message off
|
|||
|
||||
# pretend to be a vt100, since no one has heard of terminal type "screen"
|
||||
#term vt220
|
||||
term xterm-color
|
||||
term xterm
|
||||
|
||||
# use an xterm's title bar to display the hardstatus line
|
||||
termcapinfo xterm hs:ts=\E]0;:fs=\007:ds=\E]0;\007
|
||||
|
|
@ -128,6 +128,8 @@ vbell off
|
|||
|
||||
#fix scrollback residue from size changes
|
||||
altscreen on
|
||||
setenv SCREENME false
|
||||
|
||||
|
||||
# make only the first window show up in the utmp, and report idle time to it
|
||||
#screen -t "] |login" 0
|
||||
|
|
@ -139,5 +141,12 @@ deflogin on
|
|||
hardstatus on
|
||||
hardstatus alwayslastline
|
||||
#caption always "%{= C}screen[%n] | %c | %h%="
|
||||
hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %D %m/%d %C%a "
|
||||
#hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a "
|
||||
#hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %D %m/%d %C%a "
|
||||
hardstatus string '%{= kG}[ %{G}%H %{g} %{C}%l%{c}%{G}][%{g}%= %{= kw}%?%-Lw%?%{r}(%{W}%n %t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{C} %m/%d %{W}%c %{g}]'
|
||||
|
||||
windowlist string " screen[%n %t] %h"
|
||||
aclchg root -wx "#?"
|
||||
aclchg root +x detach,select,next,prev,windowlist
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue