From 22044589fed83202a9753d0ceece8c6264edbcec Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Sat, 9 Jul 2022 10:37:18 +1000 Subject: [PATCH] doc: add tip to hide .git folder --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index fec374dd..3438e531 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,7 @@ nvim-tree comes with number of mappings; for default mappings please see [:help * You can allow nvim-tree to behave like vinegar, see [:help nvim-tree-vinegar](doc/nvim-tree-lua.txt) * If you `:set nosplitright`, the files will open on the left side of the tree, placing the tree window in the right side of the file you opened. * You can automatically close the tab/vim when nvim-tree is the last window in the tab: . WARNING: this can catastrophically fail: . This will not be added to nvim-tree and the team will not provide support / assistance with this, due to complexities in vim event timings and side-effects. +* Hide the `.git` folder: `filters = { custom = { "^.git$" } }`. See [:help nvim-tree.filters.custom](doc/nvim-tree-lua.txt). ## Troubleshooting