Sublime Forum

Keybinding for Hyperhelp

#1

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?

0 Likes

#2

I created a plug-in for it. It is working now, thanks.

1 Like