Convert - -(double dash) to -> automatically in SublimeText 3
问题 During my work I use -> many times and on a hungarian keyboard there is no dedicated > button, so I have to use 3 keys to enter this and sometimes I also misstype. Is there a way to convert -- (double dash) automatically a ->? Snippet is not so good because it requires a TAB to convert. Thanks 回答1: It's possible to do this with a simple key binding such as the following: { "keys": ["-", "-"], "command": "insert", "args": { "characters": "->" }, }, Now when you type -- as soon as you hit the