In Vim's NERDTree, is there a way to open a file/dir using the space key or tab key?
Currently the o开发者_如何转开发nly 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?
let NERDTreeMapActivateNode='<space>'
should work fine. For more information see :h NERDTreeMappings
.
精彩评论