Skip to content

Commit

Permalink
Merge pull request #8 from bluz71/performance-tip
Browse files Browse the repository at this point in the history
Add a tip to improve performance for large repos #7
  • Loading branch information
lambdalisue authored Aug 18, 2020
2 parents 516fc39 + 4188368 commit db931a5
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ See `:help fern-git-status-highlight` to customize the colors.

## Performance

Disable one by one if you face a performance issue.
Disable the following options one by one if you encounter performance issues.

```vim
" Disable listing ignored files/directories
Expand All @@ -76,6 +76,15 @@ let g:fern_git_status#disable_submodules = 1
let g:fern_git_status#disable_directories = 1
```

:rocket: For large repositories it is also recommended to enable the Git (2.24+)
[manyFiles
feature](https://git-scm.com/docs/git-config#Documentation/git-config.txt-featuremanyFiles)
in the working directory as follows:

```sh
git config feature.manyFiles true
```

## See also

- [fern-mapping-git.vim](https://github.com/lambdalisue/fern-mapping-git.vim) - Add git related mappings

0 comments on commit db931a5

Please sign in to comment.