문제

When using NERDTree, I would like to remap the left and right arrow to move up and down a directory.

I believe the left arrow has to be mapped to 'u' but I do not know how to do this only when NERDTree is the active window.

Thanks!

도움이 되었습니까?

해결책

Try this:

autocmd FileType nerdtree nmap <buffer> <left> u
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top