karlicoss

Results 351 comments of karlicoss

Actually, f-strings are syntax, so wouldn't be possible to pass them as a commandline argument. But [this](https://github.com/karlicoss/grasp/pull/30) brings us closer to supporting multiple seleciton..

Yep! Just saying it should be easier now. Extension changes: - change the type of [selection](https://github.com/karlicoss/grasp/blob/4bc8f011227d1baa18b4e98543561534065490d8/src/js/background.js#L10) and use getRange [here](https://github.com/karlicoss/grasp/blob/4bc8f011227d1baa18b4e98543561534065490d8/src/js/background.js#L92-L94) Backend changes: - change the signatures of [as_org](https://github.com/karlicoss/grasp/blob/4bc8f011227d1baa18b4e98543561534065490d8/server/org_tools.py#L51) and make...

Hi, seems that org-mode spec suggests using `\%` for escaping https://orgmode.org/manual/Template-expansion.html#FOOT87 Would that suit you? You're right, this line is responsible for template expansion https://github.com/karlicoss/grasp/blob/master/server/org_tools.py#L67 I haven't tried, but I...

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

@petr-tik so, the selected text gets captured already (see 'selection' [here](https://github.com/karlicoss/grasp/blob/3984bfb5db559f00e8518802539dc34760272d6f/server/org_tools.py#L91-L109) ), the comment box populates 'comment' filed. Unless you want to edit the selection or interleave it with your...

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

Hi! The project is maintained, it's just working well enough for me so that I didn't do any changes lately! I'd still fix critical issues or welcome others' PRs if...

Hi, sorry for a late reply! I think you need to use `%:selection` or/and `%:comment`, you can find some examples here: https://github.com/karlicoss/grasp/blob/af24c991579986cec73695daa8318e7831049305/server/org_tools.py#L91-L109

Hey @powellc, thanks, I'm glad you liked it! Yeah, good idea, I can see how it could be convenient. Were you thinking some sort of postinstall script to self-register the...

Good point about interruptions, I understand! Thanks for linking the example as well. Are you a Firefox user? I wanted to play with [sidebar API](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Sidebars) for a while anyway, so...