E388 error in vim on OSX

It seems when I’m working too quickly and swapping between Chrome and vim I’ve hit Cmd+R and done something horrible. I get a “E388: couldn’t find definition” error when trying to use the (mainly) left arrow key to move around.

A quick fix was found on a twitter post about the issue, and all you need to do is type:

Then hit enter. It’ll probably prompt you to hit enter again after a bit of screen-flashy.

This should reset any non-standard mappings you’ve done - be aware this might break other weird things you’ve done to your vim installation.

I’m sure vim-lovers would slap me around for using arrow keys, but you don’t remap that life-long habit overnight. 🙂



#OSX #vim