diff options
author | Ryan Kavanagh <rak@debian.org> | 2013-03-26 10:27:31 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2013-03-26 10:27:31 -0400 |
commit | e0510a2e3eda61f61ca0582cd29936e93eea2a31 (patch) | |
tree | 9fbe8afc1619cdffa8359e68a62545219ddfb4bf | |
parent | Fix precmd, prexec in zsh to work with tmux (again) (diff) |
Added tmux config
-rw-r--r-- | .tmux-mail.conf | 7 | ||||
-rw-r--r-- | .tmux.conf | 24 | ||||
-rwxr-xr-x | Makefile | 2 |
3 files changed, 33 insertions, 0 deletions
diff --git a/.tmux-mail.conf b/.tmux-mail.conf new file mode 100644 index 0000000..a466e39 --- /dev/null +++ b/.tmux-mail.conf @@ -0,0 +1,7 @@ +source-file ~/.tmux.conf + +new-session -s mail -d -n mutt mutt +new-window -d -c '~' -n ryanak.ca 'ssh ryanak.ca' +new-window -d -c '~' -n athena 'ssh 2001:470:1d:9ae::1' +select-window -t mail:mutt +attach -t mail diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..d615981 --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,24 @@ +setw -g automatic-rename +set-option -g prefix C-t + +# screen like settings +bind C-n next-window +bind C-p previous-window +bind C-d detach +bind C-k confirm kill-window +bind k confirm kill-window +bind K confirm kill-server +bind C-K confirm kill-server + +# Enable the mouse +setw -g mode-mouse on +set -g mouse-select-pane on +set -g mouse-resize-pane on +set -g mouse-select-window on +set -g set-titles on +set -g base-index 0 + +# Set window titles +set-option -g set-titles on +# [session:window-name host] command +set-option -g set-titles-string '[#S:#I #H] #W' @@ -65,6 +65,8 @@ GLOBAL_FILES = \ .screenrc-mail \ .signature \ .ssh/ \ + .tmux.conf \ + .tmux-mail.conf \ .urxvt/ \ .vim/ \ .vimperatorrc \ |