I want to set a keybinding for hyperhelp. The binding needs the word the curser is currently positioned on as input:
{ "keys": ["ctrl+f1"], "command": "hyperhelp_topic", "args": {
"package": "Pkg",
"topic": "\"${0:$SELECTION}\""
}
},
In the above, "topic"
is supposed to receive a text string from the text at cursor position. Instead, it actually receives ${0:$SELECTION}
. This is not working, how can I achieve this?