summaryrefslogtreecommitdiff
path: root/config/common/tmux/tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to 'config/common/tmux/tmux.conf')
-rwxr-xr-xconfig/common/tmux/tmux.conf17
1 files changed, 8 insertions, 9 deletions
diff --git a/config/common/tmux/tmux.conf b/config/common/tmux/tmux.conf
index d8a4969..8cf10e5 100755
--- a/config/common/tmux/tmux.conf
+++ b/config/common/tmux/tmux.conf
@@ -43,11 +43,11 @@ bind X confirm -p "Kill Window?" kill-window
bind M-x confirm -p "Kill Session?" kill-session
bind M-X confirm -p "Kill Server?" kill-server
# Restart pane
-bind k run -C "respawn-pane -k; send-keys !! 'C-j'"
-bind K respawn-pane -k
+bind C-r run -C "respawn-pane -k; send-keys !! 'C-j'"
+bind C-R respawn-pane -k
# Splitting
bind v split-window -h -c "#{pane_current_path}"
-bind h split-window -v -c "#{pane_current_path}"
+bind s split-window -v -c "#{pane_current_path}"
# Swapping left and right a la vim
bind -n M-H swap-pane -U
bind -n M-L swap-pane -D
@@ -64,8 +64,10 @@ bind b break-pane -t :
# Reset length and shit
bind z select-layout main-vertical
-
-
+bind-key h select-pane -L
+bind-key j select-pane -D
+bind-key k select-pane -U
+bind-key l select-pane -R
# Pane navigating with h|j|k|l a la vim
# Smart pane switching with awareness of Vim splits.
@@ -88,9 +90,6 @@ bind-key -T copy-mode-vi 'M-k' select-pane -U
bind-key -T copy-mode-vi 'M-l' select-pane -R
bind-key -T copy-mode-vi 'M-\' select-pane -l
-
-
-
bind -n M-u previous-window
bind -n M-i next-window
# Session navigeting with S-M-u|i
@@ -121,7 +120,7 @@ set -g status on
#+--- Layout ---+
set -g set-titles-string "[#S: #W] #T"
set -g set-titles on
-set -g status-position top
+set -g status-position bottom
set -g window-status-current-style "underscore"
set -g status-justify left
set -g status-left-length 16