diff options
author | Sean Whitton <spw+git@sdf.org> | 2014-05-01 13:05:54 +0000 |
---|---|---|
committer | Sean Whitton <spw+git@sdf.org> | 2014-05-01 13:05:54 +0000 |
commit | f1433b38fa5be8019bdc855f44655fb95f8f633b (patch) | |
tree | e20915003ee111af62ec04b35f143b9f2e26ef45 /.screenrc | |
parent | 9c9df5de5cd2bc7402db4a19a296bcdb6639401a (diff) | |
download | dotfiles-f1433b38fa5be8019bdc855f44655fb95f8f633b.tar.gz |
Many cleaned up config files
Diffstat (limited to '.screenrc')
-rw-r--r-- | .screenrc | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/.screenrc b/.screenrc new file mode 100644 index 00000000..5022f635 --- /dev/null +++ b/.screenrc @@ -0,0 +1,48 @@ +# start in homedir +chdir + +# --- preferences + +vbell off +autodetach on +startup_message off +defscrollback 5000 +escape ^z^z +defnonblock 5 +nonblock 5 +altscreen on + +# --- status bar + +# from the gentoo wiki, hacked for urxvt with zenburn colours +hardstatus alwayslastline +hardstatus string '%{= dg}[ %{G}%H %{g}][%= %{= dw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]' + +# --- terminal settings + +# http://frexx.de/xterm-256-notes/ +# Get 256 colours +# 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" + +term screen-256color + +# --- bindings + +# bounce back and forth between windows +bind ^z other + +# toggle the status bar +bind f eval "hardstatus alwaysignore" +bind F eval "hardstatus alwayslastline" + +# bind an rtorrent helper macro +# bindkey rather than bind makes C-z not required but then can't type capital R +register s ^I^Xd.set_directory=~/local/rt/complete^M^S^N +bind R process s |