tmux: prefix+w binding to break pane into new window

This commit is contained in:
Henrik Lissner 2015-12-09 05:14:07 -05:00
parent 204a246a64
commit 8ccd64fa0b

View file

@ -49,6 +49,9 @@ unbind '"'
bind s split-window -v bind s split-window -v
bind v split-window -h bind v split-window -h
# break pane into a window
bind w break-pane
# Smart pane switching with awareness of vim splits # Smart pane switching with awareness of vim splits
# See: https://github.com/christoomey/vim-tmux-navigator # See: https://github.com/christoomey/vim-tmux-navigator
is_vim='echo "#{pane_current_command}" | grep -iqE "(^|\/)g?(view|n?vim?x?)(diff)?$"' is_vim='echo "#{pane_current_command}" | grep -iqE "(^|\/)g?(view|n?vim?x?)(diff)?$"'