0

I use iTerm2 on Mac OS X 10.10 (Yosemite) and I installed YADR and that comes with all its configurations and mappings. One of the mappings maps Cmd+Shift+N to NERDTreeToggle. This however works in MacVim but not terminal VIM. Any help is appreciated.

0

the "terminal" version and the "GUI" version likely evaluate different scripts during startup. To find the differences you can

  • launch MacVim
  • launch vi from the terminal
  • run :scriptnames in both to get a list of startup scripts
  • compare the two outputs

The mapping CMD+SHIFT+N is likely done in one of the scripts that are evaluated when MacVim is launched, but not when vi/vim is launched from the terminal

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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