1

I have read the NERDTree help and found that to close NERDTree, we could type :q.

How can I open NERDTree the shortest way?

I am now typing :NERDTree to open NERDTree, but I think it is too slow for me.

I have tried Ctrl n, but it did not work.

What is the quickest way to open NERDTree in Vim?

1 Answer 1

1

I would add a mapping:

:nnoremap <C-n> <Cmd>NERDTree<CR>

Then you could open NERDTree using Ctrl n.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.