diff --git a/README.md b/README.md index 7def5b6..028eaa0 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ let g:lazygit_floating_window_use_plenary = 0 " use plenary.nvim to manage float let g:lazygit_use_neovim_remote = 1 " fallback to 0 if neovim-remote is not installed ``` -Call `:LazyGit` to start a floating window with `lazygit`. +Call `:LazyGit` to start a floating window with `lazygit` in the current working directory. And set up a mapping to call `:LazyGit`: ```vim @@ -45,6 +45,8 @@ And set up a mapping to call `:LazyGit`: nnoremap gg :LazyGit ``` +Call `:LazyGitCurrentFile` to start a floating window with `lazygit` in the project root of the current file. + Open the configuration file for `lazygit` directly from vim. ```vim