I set up my .vimrc
so that NERDTree automatically shows up on the left when opening vim for editing a file (autocmd VimEnter * NERDTree
). This means, that NERDTree is the active buffer instead, and I have to press <C-w>w
every time to focus on the file I want to edit.
How can I achieve this automatically?
autocmd VimEnter * NERDTree
that's all.