Hi, I would like to use the @ sign as a trigger to open a command. Is there any way to accomplish that with CodeMirror?
Thought about extraKeys, but unfortunately @ is no separate key you can press, so any idea how to do this?
Thx for your help!
Hi, I would like to use the @ sign as a trigger to open a command. Is there any way to accomplish that with CodeMirror?
Thought about extraKeys, but unfortunately @ is no separate key you can press, so any idea how to do this?
Thx for your help!
If you bind '@'
(single quotes included in the actual bound key name) through CodeMirror’s key binding mechanisms, that binding will fire when the @ character is typed.