chrisbro / alfred-bear

Alfred 3 workflow to create and search notes in Bear.
335 stars 20 forks source link

Able to offer several features via PR if this project still active #12

Open drgrib opened 6 years ago

drgrib commented 6 years ago

After downloading your workflow, which I found helpful and well-designed, I went to work adding a few additional features that I had grown accustomed to in the Evernote Workflow:

However, I noticed that you have a PR that is still open from Nov 7, 2017 and don't want to spend time setting up my own PR if this project isn't in active development.

chrisbro commented 6 years ago

@drgrib Get it spun up and I'll knock it out this week! Thank you!

drgrib commented 6 years ago

@chrisbro Cool :) Just added intersecting tag search in bs, e.g. bs #tag1 #tag2 will return only notes with both tags. Also bs now fully operates on tags, so bs #tag1 will only show notes with #tag1 and bs #tag1 text will only show notes with #tag1 containing text. Finally, these all order the results title first, then text. So if a note contains the keywords in its title, it is higher in the list than one which only has it in its text.

I think these features in bs may render bst unnecessary.

Fair warning: I've made a bit of a mix of our two code styles in the code and it may warrant some cleanup. But it is all functional with little unused code.