grasp icon indicating copy to clipboard operation
grasp copied to clipboard

Command shortcuts are not configurable in Firefox

Open karlicoss opened this issue 7 years ago • 7 comments

Apparently it was broken at some point? Anyway, seems like the fix is there but will only be released in March 2019. So, in the meantime, you can capture via clicking the extension button. I guess I could also just bind something different for Firefox, instead of default Ctrl-Shift-C and Ctrl-Shift-Y, which happen to mean something in Firefox by default. I'm open for suggestions, since have no idea what common shortcuts are already occupied by the most common Firefox extensions!

karlicoss avatar Jan 28 '19 23:01 karlicoss

Latest Firefox (67) finally allows configuring the shortcuts, so this is not a problem anymore! However, you can't override default keybindings, so perhaps making Ctrl-Alt-C and Ctrl-Alt-Y as default makes more sense..

karlicoss avatar Jun 23 '19 20:06 karlicoss

Thanks for the awesome extension. A friend of mine has been banging on about how amazing org-mode is and I wanted to start using it from my firefox locally.

+1 on this issue and a further feature request.

I would like to select some text on the page, then press Ctrl-Alt-Y and prepopulate the comments section in the grasp note with the selected text.

Even better if I can use SurfingKeys to select some text, instead of using a mouse (come as close as possible to emacs - mouseless).

Not sure how easy it is to make 2 extensions play friendly though. Otherwise, I can use SurfingKeys to select and copy text to clipboard and then ideally use a key binding to pre-populate a grasp note with text from the clipboard.

Is it possible to configure such key bindings? If so, please explain how and add to readme, so others can benefit too!

Thanks again

petr-tik avatar Dec 13 '19 00:12 petr-tik

Even better if I can use SurfingKeys to select some text, instead of using a mouse (come as close as possible to emacs - mouseless).

Not sure how easy it is to make 2 extensions play friendly though. Otherwise, I can use SurfingKeys to select and copy text to clipboard and then ideally use a key binding to pre-populate a grasp note with text from the clipboard.

This already works!

I would like to select some text on the page, then press Ctrl-Alt-Y and prepopulate the comments section in the grasp note with the selected text.

This still doesn't - is that a use case that you are interested in at all and/or is it possible to implement?

petr-tik avatar Dec 13 '19 01:12 petr-tik

@petr-tik so, the selected text gets captured already (see 'selection' here ), the comment box populates 'comment' filed. Unless you want to edit the selection or interleave it with your comments?

karlicoss avatar Dec 15 '19 05:12 karlicoss

You are right - it does.

I found one bug though. If I make several text selections on one page, press Ctrl-Alt-Y to capture them, the selections end up concatenated without a newline character.

If it's not too heavy duty, it would make sense to me to create a

#+BEGIN_QUOTE #+END_QUOTE

block for every selection. I don't think interleaving my comments with selections/quotes is necessary, but I think it makes sense to save selections as quotes.

Can I do this with a different org-mode capture template or does it require changing the extension?

petr-tik avatar Dec 15 '19 16:12 petr-tik

@petr-tik good catch! I've moved it in a separate issue.

karlicoss avatar Dec 15 '19 16:12 karlicoss

Thanks @karlicoss for this extension. After finding it mentioned on reddit I've been a happy user for almost 20 minutes!

I had recently discovered Firefox's "unified" way to configure shortcuts for all extensions, including this one. Access is quaint: right-click an extension button (such as grasp) > Manage Extension > click the gear icon at top right "Tools for all add-ons" > select Manage Extension Shortcuts. Hopefully you find grasp with both of these:

  • Quick capture: url, title and selection
  • Capture page, with extra information

Cheers!

@petr-tik thanks for the SurfingKeys mouse-independence suggestion too.

steady137 avatar Jun 03 '22 17:06 steady137