In Vim's NERDTree, is there a way to open a file/dir using the space key or tab key?
Asked Answered
M

1

5

Currently the only way to open the file or directory currently underneath your cursor is to type o. Is there a way to also map this to space or tab?

Methoxychlor answered 22/9, 2011 at 17:40 Comment(0)
P
7
let NERDTreeMapActivateNode='<space>'

should work fine. For more information see :h NERDTreeMappings.

Petra answered 22/9, 2011 at 19:50 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.