From 440695bc6dd6ccc378b2d26ecca279657da19151 Mon Sep 17 00:00:00 2001 From: cnrrobertson Date: Tue, 25 Oct 2022 16:17:04 -0400 Subject: [PATCH] Update the README for new LazyGitCurrentFile command --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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