From f3f61472c80f26fda9380dafcf8fc864ca3e35d7 Mon Sep 17 00:00:00 2001 From: Tony Grosinger Date: Fri, 31 May 2024 11:30:52 -0700 Subject: [PATCH] Tmux: Open lazygit in the current pane path --- .tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index b3af4e2..80d2927 100755 --- a/.tmux.conf +++ b/.tmux.conf @@ -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}"