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.

1 Answer 1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .