I use NERDTree as a file explorer and after using its Menu, Vim does not return to its original size, see screenshots below.
The editor returns to normal only if I resize the terminal window.
My system config
- Vim-GTK3 9.0
- Terminal: Konsole
- Debian 11
NERDTree Config
nmap <Leader>nt :NERDTreeFind<CR>
let NERDTreeQuitOnOpen=1
let NERDTreeShowHidden=1
let g:NERDTreeDirArrowExpandable = '▸'
let g:NERDTreeDirArrowCollapsible = '▾'
let g:NERDTreeIgnore = ['^node_modules$']
:resize
in my main window is a manual workaround. – Newsmagazine