+tmux vim bindings for manipulation of windows
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
set -g base-index 1
|
||||
set-option -g prefix C-a
|
||||
set-window-option -g mode-keys vi
|
||||
set -g @themepack 'powerline/block/blue'
|
||||
bind -n C-h run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-h) || tmux select-pane -L"
|
||||
bind -n C-j run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-j) || tmux select-pane -D"
|
||||
bind -n C-k run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-k) || tmux select-pane -U"
|
||||
bind -n C-l run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-l) || tmux select-pane -R"
|
||||
bind -n C-\ run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys 'C-\\') || tmux select-pane -l"
|
||||
|
||||
|
||||
|
||||
# List of plugins
|
||||
|
||||
Reference in New Issue
Block a user