diff options
Diffstat (limited to 'config/tmux/tmux.conf')
| -rw-r--r-- | config/tmux/tmux.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index b171190..e5a3e66 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -45,6 +45,9 @@ bind-key -T copy-mode-vi 'y' send -X copy-selection #bind - split-window -v #unbind '"' #unbind % +# Thanks: https://unix.stackexchange.com/a/109255/347754 +bind % split-window -h -c "#{pane_current_path}" +bind '"' split-window -v -c "#{pane_current_path}" # moving between panes with vim movement keys bind h select-pane -L |
