aboutsummaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
Diffstat (limited to 'tmux')
-rw-r--r--tmux/.tmux.conf16
1 files changed, 12 insertions, 4 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf
index 9eec3eb..10820d5 100644
--- a/tmux/.tmux.conf
+++ b/tmux/.tmux.conf
@@ -22,10 +22,11 @@ bind-key -n 'C-M-Right' next
bind-key -n 'C-M-Up' new-window
bind-key -n 'C-M-Down' confirm-before -p "kill-window #W? (y/n)" kill-window
-bind-key -n 'C-M-h' select-pane -L
-bind-key -n 'C-M-l' select-pane -R
-bind-key -n 'C-M-k' select-pane -U
-bind-key -n 'C-M-j' select-pane -D
+bind-key -n 'C-M-h' prev
+bind-key -n 'C-M-l' next
+bind-key -n 'C-M-k' new-window
+bind-key -n 'C-M-j' confirm-before -p "kill-window #W? (y/n)" kill-window
+
#bind-key -n 'C-M-\\' split-window -h
#bind-key -n 'C-M-\-' split-window
bind-key -n 'C-M-x' confirm-before -p "kill-pane #P? (y/n)" kill-pane
@@ -37,3 +38,10 @@ bind-key 'Down' select-pane -P 'fg=black,bg=white'
bind-key ] run "xclip -o -selection clipboard | tmux load-buffer - && tmux paste-buffer"
+
+
+set -g @plugin 'christoomey/vim-tmux-navigator'
+
+if "test ! -d ~/.tmux/plugins/tpm" \
+ "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
+run -b '~/.tmux/plugins/tpm/tpm'