I installed both mvim(macvim) and vim through brew. vim was installed using "brew install vim " (with python3, doesn't matter ). The OS is High Sierra.
While mvim is completely fine, vim is completely messed up. For example, when I type gg, it goes to the top of the page instead of to the start. And I can't progress upwards. It sometimes overrides things like --insert--.
I disabled powerline and many other features. It still happens. It works fine in terminal (as far as I could judge). It just doesn't work in iterm (also after changing the fonts back to default).