From f973dcada4ea5ffe9614813efceb5556e8536de0 Mon Sep 17 00:00:00 2001 From: Jordan Orelli Date: Mon, 28 Oct 2013 21:51:31 +0000 Subject: [PATCH] adding screenrc --- .screenrc | 34 ++++++++++++++++++++++++++++++++++ install.sh | 2 +- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 .screenrc diff --git a/.screenrc b/.screenrc new file mode 100644 index 0000000..4c88845 --- /dev/null +++ b/.screenrc @@ -0,0 +1,34 @@ +startup_message off + +# allow bold colors +attrcolor b ".I" + +# tell screen how to set colors +termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' +termcapinfo xterm-color 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' +termcapinfo xterm-256color 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' +#termcapinfo xterm* ti@:te@ +term xterm-256color + +# increase scrollback buffer. Default is 100 lines. +defscrollback 2000 + +# configure footer status bar +hardstatus alwayslastline +hardstatus string "%{= kb}[ %=%{w}%?%-Lw%?%{C}(%{W}%n*%f %t%?(%u)%?%{C})%{w}%?%+Lw%?%?%= %{b}][%{C} %Y.%m.%d %{W}%0c %{b}]" + +# erase background with current bg color. +defbce off + +# Make navigating between regions easier +bind s split +bind j focus down +bind k focus up + +# Make resizing regions easier +bind = resize = +bind + resize +1 +bind - resize -1 + +# prevents applications from leaving their content on the screen. +altscreen on diff --git a/install.sh b/install.sh index be3d12f..c46194f 100755 --- a/install.sh +++ b/install.sh @@ -2,7 +2,7 @@ BACKUP_DIR="$HOME/.dotfiles_backup" BASE_DIR="$HOME/.dotfiles" -INCLUDE=".bashrc .bash_profile .vimrc .vim" +INCLUDE=".bashrc .bash_profile .vimrc .vim .screenrc" echo "backing up existing dotfiles into $BACKUP_DIR" mkdir -p "$BACKUP_DIR"