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:
parent
e16e8a25a1
commit
2807936959
1 changed files with 5 additions and 1 deletions
|
@ -11,7 +11,11 @@ syntax on
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
|
||||||
" Nice navigaton shortcuts
|
" 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-f> :Files<CR>
|
||||||
map <C-g> :Rg<CR>
|
map <C-g> :Rg<CR>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue