|
|
|
@ -51,17 +51,17 @@ bind C-Space copy-mode
|
|
|
|
|
|
|
|
|
|
# Rebinds to be like neotree |
|
|
|
|
unbind % |
|
|
|
|
bind | split-window -h |
|
|
|
|
bind - split-window -v |
|
|
|
|
bind i split-window -h |
|
|
|
|
bind s split-window -v |
|
|
|
|
|
|
|
|
|
# Smart pane switching with awareness of vim splits |
|
|
|
|
# This is the tmux side of the vim-tmux-navigator plugin |
|
|
|
|
# is_vim='echo "#{pane_current_command}" | grep -iqE "(^|\/)g?(view|n?vim?)(diff)?$"'" |
|
|
|
|
|
|
|
|
|
bind -n M-Left select-pane -L |
|
|
|
|
bind -n M-Right select-pane -R |
|
|
|
|
bind -n M-Up select-pane -U |
|
|
|
|
bind -n M-Down select-pane -D |
|
|
|
|
bind k selectp -U # switch to panel Up |
|
|
|
|
bind j selectp -D # switch to panel Down |
|
|
|
|
bind h selectp -L # switch to panel Left |
|
|
|
|
bind l selectp -R # switch to panel Right |
|
|
|
|
|
|
|
|
|
# Vim keybinds so copy mode behaves more like vim |
|
|
|
|
bind-key -t vi-copy 'v' begin-selection |
|
|
|
|