tmux: prefix+w binding to break pane into new window
This commit is contained in:
parent
204a246a64
commit
8ccd64fa0b
|
@ -49,6 +49,9 @@ unbind '"'
|
|||
bind s split-window -v
|
||||
bind v split-window -h
|
||||
|
||||
# break pane into a window
|
||||
bind w break-pane
|
||||
|
||||
# Smart pane switching with awareness of vim splits
|
||||
# See: https://github.com/christoomey/vim-tmux-navigator
|
||||
is_vim='echo "#{pane_current_command}" | grep -iqE "(^|\/)g?(view|n?vim?x?)(diff)?$"'
|
||||
|
|
Loading…
Reference in a new issue