summaryrefslogtreecommitdiff
path: root/.tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to '.tmux.conf')
-rw-r--r--.tmux.conf17
1 files changed, 3 insertions, 14 deletions
diff --git a/.tmux.conf b/.tmux.conf
index 1ebfc7a..60612ea 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -3,22 +3,11 @@ bind-key a send-prefix # for nested tmux sessions
# use support - set to on if you want to use the mouse
setw -g mouse on
-#setw -g mouse-resize-pane on
-#set -g mouse-select-window on
-#set -g mouse-select-pane on
-
# Set the default terminal mode to 256color mode
set -g default-terminal "screen-256color"
-# enable activity alerts
-#setw -g monitor-activity on
-#set -g visual-activity on
-
-# Center the window list
-#set -g status-justify centre
+bind-key -T prefix v split-window -h
+bind-key -T prefix h split-window
-# Maximize and restore a pane
-#unbind Up bind Up new-window -d -n tmp \; swap-pane -s tmp.1 \; select-window -t tmp
-#unbind Down
-#bind Down last-window \; swap-pane -s tmp.1 \; kill-window -t tmp
+bind-key -T prefix C-c confirm-before -p "kill-window #W? (y/n)" kill-window