Tmux: Open lazygit in the current pane path

This commit is contained in:
Tony Grosinger 2024-05-31 11:30:52 -07:00
parent 21a502588e
commit f3f61472c8

View File

@ -18,7 +18,7 @@ bind-key r source-file ~/.tmux.conf\; display-message "Reloaded config"
bind-key m set-window-option mouse\; display-message "mouse support is now #{?mouse,on,off}"
### Open LazyGit in a popup
bind-key g display-popup -E -w 90% -h 90% lazygit
bind-key g display-popup -E -d '#{pane_current_path}' -w 90% -h 90% lazygit
# New panes and windows have same cwd as the one opening it
bind c new-window -c "#{pane_current_path}"