Last Updated: February 25, 2016
·
939
· cwninja

Map § to <Esc> in vim for tiny MacBooks

I just got a new 11" MacBook air (thanks Reevoo!), and sadly the escape key is TINY.

As a vim user, this is problematic.

As a vim user, this is solvable.

Simply map the useless § key in the top left, to <Esc> with this snippet:

imap § <Esc>

If you need to type a § char, you're screwed, but funnily enough, that's never come up ;)