Open jaseemabid opened 9 years ago
Sure, why not :)
@tjarvstrand Alright. I'll give it a try soon.
@tjarvstrand Will this do? https://github.com/jaseemabid/edts/commit/4bcd1424ebfcecc8a0496c9bae50ad372d7ca3e5
Comments in the commit message.
I had to switch from print to insert. See 6de97b6 This is what print did: http://lpaste.net/146845 and pp changed it to http://lpaste.net/146846.
I think its working nicely now. See the screenshot.
@tjarvstrand Ping! :D
Hey, sorry for the really late reply. I´d prefer if it where either a configurable option or even better a additional command run by adding a modifier key to the original keybinding.
defcustom
lets end users customize the variable. Did you mean this or something else?
(defcustom edts-doc-buffer "edts-doc"
"Name of the buffer to show edts function documentation")
(defcustom edts-doc-style 'tooltip
"Preferred style to show function documentation"
:type '(choice (const :tag "Show in an inline tooltip" tooltip)
(const :tag "Show in a dedicated buffer" buffer)))
Did you mean trigger this behaviour with C-u C-c C-d h
? That's too long a key sequence.
@tjarvstrand Ping.
The documentation is shown using '(popup-tip text)`, which is hard to keep aside for reference, copy from etc. Does it make sense to configure this function to show it in a help buffer?
I could try a PR if you think it makes sense.