Hello,
I would like a key combination:
- To do something in
INSERT MODE
- To do something else in
COMMAND MODE
- And something else in
VISUAL MODE.
Here is a simplified example:
{ "keys": ["ctrl+super+alt+j"], "command": "insert_snippet", "args": {"contents": "1"}, "context":
[ { "key": "setting.command_mode" } ]
},
{ "keys": ["ctrl+super+alt+j"], "command": "insert_snippet", "args": {"contents": "2"}, "context":
[ { "key": "setting.insert_mode" } ]
},
{ "keys": ["ctrl+super+alt+j"], "command": "insert_snippet", "args": {"contents": "3"}, "context":
[ { "key": "setting.visual_mode" } ]
}
It seems like the setting.insert_mode and setting.visual_mode variables do not exist.
Does someone see a way to do this?
Thank you 😉