redid split movement
This commit is contained in:
1 parent
8c0ba75126
commit
d48e630648
2 files changed
+6
-4
No files matched your search
@@ -39,10 +39,11 @@ unbind %
|
|||||||
unbind '"'
|
unbind '"'
|
||||||
bind + split-window -h # horizontal split
|
bind + split-window -h # horizontal split
|
||||||
bind - split-window -v # vertical split
|
bind - split-window -v # vertical split
|
||||||
bind -n C-h run "(tmux display-message -p '#{pane_title}' | grep -iq vim && tmux send-keys C-h) || tmux select-pane -L"
|
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_title}' | grep -iq vim && tmux send-keys C-j) || tmux select-pane -D"
|
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_title}' | grep -iq vim && tmux send-keys C-k) || tmux select-pane -U"
|
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_title}' | grep -iq vim && tmux send-keys C-l) || tmux select-pane -R"
|
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"
|
||||||
bind -r C-Down resize-pane -D 2
|
bind -r C-Down resize-pane -D 2
|
||||||
bind -r C-Up resize-pane -U 2
|
bind -r C-Up resize-pane -U 2
|
||||||
bind -r C-Left resize-pane -L 2
|
bind -r C-Left resize-pane -L 2
|
||||||
|
|||||||
@@ -208,4 +208,5 @@ Bundle 'vim-scripts/taglist.vim'
|
|||||||
let Tlist_Use_Right_Window=1
|
let Tlist_Use_Right_Window=1
|
||||||
let Tlist_GainFocus_On_ToggleOpen = 1
|
let Tlist_GainFocus_On_ToggleOpen = 1
|
||||||
Bundle 'saltstack/salt-vim'
|
Bundle 'saltstack/salt-vim'
|
||||||
|
Bundle 'christoomey/vim-tmux-navigator'
|
||||||
"" }}}
|
"" }}}
|
||||||
Reference in new issue
Block a user