summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2013-12-11 16:36:51 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2013-12-11 16:36:51 +0000
commitc66a8c5477da5738c1a7c031b526d9e35bca9a5a (patch)
tree87d0014372883cbfda58f94e4aa0d3d9177bdbb0
parent32a1855926d886f869fd42f522e1e5b3ff18bdea (diff)
tmux and terminfo
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@656 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-xLink-Them2
-rw-r--r--terminfo/s/screen-itbin0 -> 1554 bytes
-rw-r--r--tmux.conf25
3 files changed, 26 insertions, 1 deletions
diff --git a/Link-Them b/Link-Them
index e30c1cc..df6873f 100755
--- a/Link-Them
+++ b/Link-Them
@@ -12,7 +12,7 @@ else
relpath="${dir##$HOME/}/"
fi
-for file in bash_profile bashrc gitconfig gitignore screenrc vimrc zshrc zshfunc; do
+for file in bash_profile bashrc gitconfig gitignore screenrc vimrc zshrc zshfunc terminfo tmux.conf; do
if [ -L "$HOME/.$file" ]; then
if [ "$(readlink "$HOME/.$file")" = "$dir/$file" ]; then # old style symlink, remove
rm -v -f "$HOME/.$file"
diff --git a/terminfo/s/screen-it b/terminfo/s/screen-it
new file mode 100644
index 0000000..e505dde
--- /dev/null
+++ b/terminfo/s/screen-it
Binary files differ
diff --git a/tmux.conf b/tmux.conf
new file mode 100644
index 0000000..07e1dda
--- /dev/null
+++ b/tmux.conf
@@ -0,0 +1,25 @@
+# mess with the status window
+set -g status-bg colour109
+set -g status-right "[#T]"
+setw -g window-status-current-bg white
+
+bind -n C-Right next-window
+bind -n C-Left previous-window
+
+bind -n C-Up select-pane -U
+bind -n C-Down select-pane -D
+bind | split-window -h
+bind - split-window -v
+
+set -g default-terminal "screen-it"
+set -g xterm-keys on
+set -sg escape-time 0
+
+# make ^A the command prefix
+# set -g prefix C-a
+# unbind C-b
+# bind a send-prefix
+
+# and restore screen-live ^A^A behavior
+# bind C-a last-window
+