Skip to content

Instantly share code, notes, and snippets.

@andradei
Last active December 18, 2023 16:09
Show Gist options
  • Save andradei/bcae5a2f6ad4cf455521 to your computer and use it in GitHub Desktop.
Save andradei/bcae5a2f6ad4cf455521 to your computer and use it in GitHub Desktop.
Sublime Text 3 Key Bindings for Vowals with Accent (use with keyboard layout US, International with Dead Keys and similar)
[
// Key remaps
// - a
{ "keys": ["alt + ' + a"], "command": "insert", "args": {"characters": "á"}},
{ "keys": ["alt + ` + a"], "command": "insert", "args": {"characters": "à"}},
{ "keys": ["alt + \" + a"], "command": "insert", "args": {"characters": "ä"}},
{ "keys": ["alt + ~ + a"], "command": "insert", "args": {"characters": "ã"}},
// - A
{ "keys": ["alt + ' + A"], "command": "insert", "args": {"characters": "Á"}},
{ "keys": ["alt + ` + A"], "command": "insert", "args": {"characters": "À"}},
{ "keys": ["alt + \" + A"], "command": "insert", "args": {"characters": "Ä"}},
{ "keys": ["alt + ~ + A"], "command": "insert", "args": {"characters": "Ã"}},
// - e
{ "keys": ["alt + ' + e"], "command": "insert", "args": {"characters": "é"}},
{ "keys": ["alt + ` + e"], "command": "insert", "args": {"characters": "è"}},
{ "keys": ["alt + \" + e"], "command": "insert", "args": {"characters": "ë"}},
{ "keys": ["alt + ~ + e"], "command": "insert", "args": {"characters": "ẽ"}},
// - E
{ "keys": ["alt + ' + E"], "command": "insert", "args": {"characters": "É"}},
{ "keys": ["alt + ` + E"], "command": "insert", "args": {"characters": "È"}},
{ "keys": ["alt + \" + E"], "command": "insert", "args": {"characters": "Ë"}},
{ "keys": ["alt + ~ + E"], "command": "insert", "args": {"characters": "Ẽ"}},
// -i
{ "keys": ["alt + ' + i"], "command": "insert", "args": {"characters": "í"}},
{ "keys": ["alt + ` + i"], "command": "insert", "args": {"characters": "ì"}},
{ "keys": ["alt + \" + i"], "command": "insert", "args": {"characters": "ï"}},
{ "keys": ["alt + ~ + i"], "command": "insert", "args": {"characters": "ĩ"}},
// -I
{ "keys": ["alt + ' + I"], "command": "insert", "args": {"characters": "Í"}},
{ "keys": ["alt + ` + I"], "command": "insert", "args": {"characters": "Ì"}},
{ "keys": ["alt + \" + I"], "command": "insert", "args": {"characters": "Ï"}},
{ "keys": ["alt + ~ + I"], "command": "insert", "args": {"characters": "Ĩ"}},
// - o
{ "keys": ["alt + ' + o"], "command": "insert", "args": {"characters": "ó"}},
{ "keys": ["alt + ` + o"], "command": "insert", "args": {"characters": "ò"}},
{ "keys": ["alt + \" + o"], "command": "insert", "args": {"characters": "ö"}},
{ "keys": ["alt + ~ + o"], "command": "insert", "args": {"characters": "õ"}},
// - O
{ "keys": ["alt + ' + O"], "command": "insert", "args": {"characters": "Ó"}},
{ "keys": ["alt + ` + O"], "command": "insert", "args": {"characters": "Ò"}},
{ "keys": ["alt + \" + O"], "command": "insert", "args": {"characters": "Ö"}},
{ "keys": ["alt + ~ + O"], "command": "insert", "args": {"characters": "Õ"}},
// - u
{ "keys": ["alt + ' + u"], "command": "insert", "args": {"characters": "ú"}},
{ "keys": ["alt + ` + u"], "command": "insert", "args": {"characters": "ù"}},
{ "keys": ["alt + \" + u"], "command": "insert", "args": {"characters": "ü"}},
{ "keys": ["alt + ~ + u"], "command": "insert", "args": {"characters": "ũ"}},
// - U
{ "keys": ["alt + ' + U"], "command": "insert", "args": {"characters": "Ú"}},
{ "keys": ["alt + ` + U"], "command": "insert", "args": {"characters": "Ù"}},
{ "keys": ["alt + \" + U"], "command": "insert", "args": {"characters": "Ü"}},
{ "keys": ["alt + ~ + U"], "command": "insert", "args": {"characters": "Ũ"}},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment