sballin / alfred-search-notes-app

Use Alfred to quickly open notes in iCloud/Apple Notes.
https://www.alfredforum.com/topic/11716-search-appleicloud-notes/
MIT License
522 stars 24 forks source link

Prototype note linking via snippet expansion. #35

Closed temochka closed 3 years ago

temochka commented 3 years ago

Hey @sballin! Thanks again for this plugin, it rocks :) Lately I’ve been looking for an easier way to link to other notes and so far my favorite option is using Alfred’s automatic snippet expansion.

Something like this:

https://user-images.githubusercontent.com/764975/104821753-09ab3880-580c-11eb-8de3-fbd7857c8433.mov

This is what the changed workflow looks like:

Screen Shot 2021-01-16 at 2 33 51 PM

The changes are:

Unfortunately, I had to duplicate the "search by title" block to support copying a link as the default action. Maybe you would be able to think of a better solution.

No pressure to merge this PR! I’m opening out just to point out that inserting links could be made more ergonomic than Custom shortcut, ⌥+return, ⌘+v. Perhaps, the minimal solution would be just adding nl with its own shortcut trigger and an external trigger (so that users can set up snippets and point to it if necessary) + auto-pasting to the frontmost app. Let me know what you think!

sballin commented 3 years ago

Great idea Artem! I've included it in the latest release.