Create workaround for bug where the bottom panel doesn't shrink after expanding (see https://github.com/preservim/nerdtree/issues/1321)

This commit is contained in:
Nicole Tietz-Sokolskaya 2022-10-24 12:03:13 -04:00
parent e16e8a25a1
commit 2807936959
1 changed files with 5 additions and 1 deletions

View File

@ -11,7 +11,11 @@ syntax on
filetype plugin indent on
" Nice navigaton shortcuts
map <C-n> :NERDTreeToggle<CR>
"
" currently have to do :resize after NERDTree since it can leave content in
" the bottom panel; see https://github.com/preservim/nerdtree/issues/1321 for
" details.
map <C-n> :NERDTreeToggle<CR>:resize<CR>
map <C-f> :Files<CR>
map <C-g> :Rg<CR>