sublime-devdocs
sublime-devdocs copied to clipboard
Search doesn't work when nothing is selected
Hey,
When I try to search for something on devdocs without selecting anything but only placing my cursor on the word, devdocs doesn't search for anything. It only opens the url http://devdocs.io/#q=.
Currently using this gist that works great without selecting the word.
Thanks @Leimi! I'm gonna check this. :)
Tried the gist but it doesn't work in ST3 Is it for ST2 only?
It would be great if sublime-devdocs would not require to select the word. That's quite awkward, i.e. instead of just hitting F1, you have to press two keystrokes : Ctrl+D, F1
ok, here's a solution the Run Multiple Commands.. Command plugin
and the hotkey binding
{ "keys": ["f1"],
"command": "run_multiple_commands",
"args": { "commands": [
{"command": "single_selection", "context": "window"},
{"command": "find_under_expand", "context": "window"},
{"command": "dev_docs_search_selection", "context": "window"}
]}
},
Hey,
Used the gist on ST2 and using it on ST3 without any problem. Maybe the problem was with your shortcut setting that was in conflict with some other item?