Sublime Forum

My key bindings for accented letters no longer works

#1

The subject says it all: a couple of years ago I created a set of key bindings to be able to type accented letters as one normally does on the Mac, i.e. using a combination of keys (usu. option + a letter + the letter you want the accent to appear over):

{ "keys": "alt+e,a"], "command": "insert", "args": {"characters": "á"} }, { "keys": "alt+`,a"], "command": "insert", "args": {"characters": "à"} }, { "keys": "alt+i,a"], "command": "insert", "args": {"characters": "â"} }, { "keys": "alt+u,a"], "command": "insert", "args": {"characters": "ä"} }, etc.

I’m not sure when and I’m not sure why, but they stopped working.

Does anyone know why, or what I can do about it? I am using ST2, Version 2.0.2, Build 2221. Any suggestions would be appreciated.

TIA.

0 Likes

#2

Strange, they are now working again. Just thought I’d post this little update.

0 Likes

#3

They shouldn’t work at all because key chords are defined as an array of keys.

{ "keys": "alt+e", "a"], "command": "insert", "args": {"characters": "á"} },
{ "keys": "alt+`", "a"], "command": "insert", "args": {"characters": "à"} },
{ "keys": "alt+i", "a"], "command": "insert", "args": {"characters": "â"} },
{ "keys": "alt+u", "a"], "command": "insert", "args": {"characters": "ä"} },
0 Likes