summaryrefslogtreecommitdiff
path: root/.tmux.conf
diff options
context:
space:
mode:
authorjohannst <stoelp@eit.uni-kl.de>2016-07-13 01:06:33 +0200
committerjohannst <stoelp@eit.uni-kl.de>2016-07-13 01:06:33 +0200
commitc6d1aab0a4f24a9f9b18b55ee452fe98b5c91ab3 (patch)
treeca6de22104b5cf9c877689a6c09f4fcfd81f23f1 /.tmux.conf
parent6a2299df8c0c8cb97be883f0e1dd0c8c7cf7a2ff (diff)
downloaddotfiles-c6d1aab0a4f24a9f9b18b55ee452fe98b5c91ab3.tar.gz
dotfiles-c6d1aab0a4f24a9f9b18b55ee452fe98b5c91ab3.zip
new tmux keybindings
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