Coder Social home page Coder Social logo

Comments (7)

steady137 avatar steady137 commented on July 18, 2024 1

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.

from grasp.

karlicoss avatar karlicoss commented on July 18, 2024

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..

from grasp.

petr-tik avatar petr-tik commented on July 18, 2024

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

from grasp.

petr-tik avatar petr-tik commented on July 18, 2024

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?

from grasp.

karlicoss avatar karlicoss commented on July 18, 2024

@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?

from grasp.

petr-tik avatar petr-tik commented on July 18, 2024

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?

from grasp.

karlicoss avatar karlicoss commented on July 18, 2024

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

from grasp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.