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 ;)
Written by Tom Lea
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#