Tmux: Open lazygit in the current pane path
This commit is contained in:
parent
21a502588e
commit
f3f61472c8
@ -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}"
|
bind-key m set-window-option mouse\; display-message "mouse support is now #{?mouse,on,off}"
|
||||||
|
|
||||||
### Open LazyGit in a popup
|
### 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
|
# New panes and windows have same cwd as the one opening it
|
||||||
bind c new-window -c "#{pane_current_path}"
|
bind c new-window -c "#{pane_current_path}"
|
||||||
|
Loading…
Reference in New Issue
Block a user