aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.tmux-mail.conf7
-rw-r--r--.tmux.conf24
-rwxr-xr-xMakefile2
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'
diff --git a/Makefile b/Makefile
index 67baee0..80e3d6a 100755
--- a/Makefile
+++ b/Makefile
@@ -65,6 +65,8 @@ GLOBAL_FILES = \
.screenrc-mail \
.signature \
.ssh/ \
+ .tmux.conf \
+ .tmux-mail.conf \
.urxvt/ \
.vim/ \
.vimperatorrc \