api-docs
api-docs copied to clipboard
hitting ctrl-d does not open up api doc
Hitting ctrl-d does nothing at all.
I've also tried adding a keymap for an unused key mapping, such as 'ctrl-q': 'api-docs:search-under-cursor', and this also did nothing at all.
It appears you must hit ctrl-shift-p, then select your app from the command menu, and then select which doc you want to view, and then finally the doc opens. This is not ideal.
I have the same problem. Adding a keymap doesn't help, but ctrl-shift-p works ok.
Atom 1.2.4, api-docs 0.0.3, both Windows and Linux.
Atom 1.4.3, api-docs 0.0.4, ArchLinux x64 - ctrl-d seems to be taken by another shortcut (find and select next occurrence of selected text), by remapping to ctrl-i in keymap.cson works for me:
'atom-workspace atom-text-editor':
'ctrl-i': 'api-docs:search-under-cursor'
Thank you @Alphanumerix!
Your keymaps.cson snippet did the trick. I am now able to bind a key to search-under-cursor.
ctrl-d still doesn't work, but it is not a big problem.
CtrlD is more than just find and select next -- it's the primary entry point for the amazing multi-cursors feature!
Multicursors weighs in about half of reasons why I use Atom in the first place.
That this package so negligently tries to hook on the same (built-in, default) keybinding is next to offending.
Anyway, this little PR #37 of mine solves the problem properly, by changing the default hotkey.