From a13571d4c1a053a872b55bbc8eb51676d0198368 Mon Sep 17 00:00:00 2001 From: thefux Date: Sun, 6 Mar 2022 17:59:35 +0100 Subject: [PATCH] update readme --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c11552e..516cec2 100644 --- a/README.md +++ b/README.md @@ -111,11 +111,16 @@ and the main repo. Though switching between submodules and main repo is not stra that was really and ennoying for me so I though about traking all the repo I visited an I can choose from the list which one I'd like to commit in. +to load the telescope extension you have to add this line to your configuration ``` lua require('telescope').load_extension('lazygit_telescope') ``` -``` lua +by default the paths of each repo is stored only when lazygit is triggered. Though, this may not be convenient, so it possible +to do something like this: +``` vim autocmd BufEnter * :lua require('lazygit.utils').project_root_dir() ``` +that make sure that any opened buffer which have a git repo will be tracked. +