Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Synchronize nerdtree highlight with buffer switch. #184
Is there a way nerdtree can auto-sync with buffer switch? I can do it manually with
I dived into vim docs to look for events I can bind to, but BufRead gets called only once, when the file is read into the buffer; and BufEnter can't be used as everytime I enter the buffer, it will call NERDTreeToggle sending me back to nerd tree pane. Any ideas?
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
I mainly use bufexplorer for switching buffers. I solved my problem by hooking NERDTreeFind with bufexplorer.