diff options
Diffstat (limited to 'public/.config/tmux/tmux.conf')
| -rw-r--r-- | public/.config/tmux/tmux.conf | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/public/.config/tmux/tmux.conf b/public/.config/tmux/tmux.conf index e5a3e66..be38e4c 100644 --- a/public/.config/tmux/tmux.conf +++ b/public/.config/tmux/tmux.conf @@ -40,11 +40,7 @@ bind-key -T copy-mode-vi 'y' send -X copy-selection #bind C-c run "tmux save-buffer - | xclip -i -sel clipboard" #bind C-v run "tmux set-buffer \"$(xclip -o -sel clipboard)\"; tmux paste-buffer" -# easy-to-remember split pane commands -#bind | split-window -h -#bind - split-window -v -#unbind '"' -#unbind % +# New panes in the same window maintain the current path # Thanks: https://unix.stackexchange.com/a/109255/347754 bind % split-window -h -c "#{pane_current_path}" bind '"' split-window -v -c "#{pane_current_path}" |
