aboutsummaryrefslogtreecommitdiff
path: root/.tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to '.tmux.conf')
-rw-r--r--.tmux.conf24
1 files changed, 24 insertions, 0 deletions
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'