Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Sublime Text 2 - Keybindings for typing accented characters
{ "keys": ["alt+`,a"], "command": "insert", "args": {"characters": "à"} },
{ "keys": ["alt+i,a"], "command": "insert", "args": {"characters": "â"} },
{ "keys": ["alt+e,e"], "command": "insert", "args": {"characters": "é"} },
{ "keys": ["alt+`,e"], "command": "insert", "args": {"characters": "è"} },
{ "keys": ["alt+i,e"], "command": "insert", "args": {"characters": "ê"} },
{ "keys": ["alt+`,e"], "command": "insert", "args": {"characters": "ë"} },
{ "keys": ["alt+u,i"], "command": "insert", "args": {"characters": "ï"} },
{ "keys": ["alt+i,i"], "command": "insert", "args": {"characters": "î"} },
{ "keys": ["alt+i,o"], "command": "insert", "args": {"characters": "ô"} },
{ "keys": ["alt+`,u"], "command": "insert", "args": {"characters": "ù"} },
{ "keys": ["alt+i,u"], "command": "insert", "args": {"characters": "û"} },
{ "keys": ["alt+u,u"], "command": "insert", "args": {"characters": "ü"} }

LeVM commented Sep 27, 2012

I frequently create content in languages other than English and need to be able to type accented characters. I created these key bindings to get the accents I need using the conventional Mac key combinations. Modify as needed/desired.

Thanks for providing this. I fixed it for Subl 3 and added some missing German chars. See fork.

pconerly commented May 6, 2016

These were really useful, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment