commit c80e0f325aaf5843e28bf907ac6baf787d61a227 parent 6c48cf9fef92c2bf988dbbb0659f90e5ab47c7ae Author: Anders Damsgaard <andersd@riseup.net> Date: Sun, 6 Aug 2017 13:29:04 +0200 split windows with same path as current pane Diffstat:
M | .tmux.conf | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/.tmux.conf b/.tmux.conf @@ -190,3 +190,10 @@ bind-key -r N previous-window bind-key -r y next-layout bind-key -r Y previous-layout bind-key -r r rotate-window + +# new windows in same directory +#bind c new-window -c "#{pane_current_path}" + +# split panes in same directory +bind-key '"' split-window -c "#{pane_current_path}" +bind-key '%' split-window -h -c "#{pane_current_path}"