New tmux windows now start in the same working directory
This commit is contained in:
parent
863b5399e4
commit
37661ca513
1 changed files with 3 additions and 3 deletions
|
|
@ -34,12 +34,12 @@ bind-key -n M-p display-message "#{@tmux_resize_mode}"
|
|||
bind-key -n M-d run-shell "~/.config/tmux/tmux-fuzzy-find-session.sh"
|
||||
|
||||
# Split window, change keybindings to match vim concept of splits
|
||||
bind-key -n M-V split-window -h
|
||||
bind-key -n M-H split-window -v
|
||||
bind-key -n M-V split-window -h -c "#{pane_current_path}"
|
||||
bind-key -n M-H split-window -v -c "#{pane_current_path}"
|
||||
bind-key -n M-q kill-pane
|
||||
bind-key -n M-f resize-pane -Z
|
||||
bind-key -n M-s command-prompt -p "New session: " "run-shell '~/.config/tmux/tmux-create-session.sh '%%''"
|
||||
bind-key -n M-w new-window
|
||||
bind-key -n M-w new-window -c "#{pane_current_path}"
|
||||
bind-key -n M-r command-prompt -p "Rename window:" "rename-window '%%'"
|
||||
bind-key -n M-R command-prompt -p "Rename session:" "rename-session '%%'"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue