From dfc6a780e94fba88281c2cce7ca9451dfe80c649 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Wed, 6 Oct 2021 14:18:30 -0400 Subject: [PATCH] Close file tree for commit messages --- .vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.vimrc b/.vimrc index e203107..f83e54f 100644 --- a/.vimrc +++ b/.vimrc @@ -28,6 +28,7 @@ autocmd VimEnter * NERDTreeFind autocmd VimEnter * wincmd w " Auto close NERDTree autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif +autocmd VimEnter COMMIT_EDITMSG NERDTreeClose set mouse=a