I wanted to use the keyboard for ignoring/adding words in my doocuments. I started by entering >>> sublime.log_commands(True) in the console and observing that the command for ignoring a word with the ST3 spell check is called ``command: ignore_word {“word”: “foo”}```.
I assume this key binding…
{ "keys": ["ctrl+alt+"i"], "command": "ignore_word", "word": "foo"},
…would work for the specific instance of ignoring the word "foo". But how do I tell ST to accept either my current selection, or, even better, the word under my cursor as the string for the argument "word" of the command "ignore_word"?
I tried to search for it, but I couldn’t find anything. Thanks in advance for your help.