Commit Graph

48 Commits (ec574ff5194192307a29320220b2488ed3fbad3f)

Author SHA1 Message Date
Mickaël Menu c58e68e0e2
Add support for nested maps in the YAML frontmatter
Don't prevent saving a note when the YAML to JSON serialization fails
3 years ago
Mickaël Menu b82f1f547c
Add a global configuration file (#12) 3 years ago
Mickaël Menu 36365c68fb
Expose environment variables to note templates with the new {{env}} variable 3 years ago
Mickaël Menu 08cc4a3c3f
Filter notes by tags (#6)
Filter notes by their tags using `--tag "history, europe"`. To match notes associated with either tags, use a pipe `|` or `OR` (all caps), e.g. `--tag "inbox OR todo"`.
3 years ago
Mickaël Menu 4bf660f934
Parse tags in Markdown documents (#5)
Many tag flavors are supported: `#hashtags`, `:colon:separated:tags:` and even Bear's [`#multi-word tags#`](https://blog.bear.app/2017/11/bear-tips-how-to-create-multi-word-tags/). If you prefer to use a YAML frontmatter, list your tags with the keys `tags` or `keywords`.
3 years ago
Mickaël Menu c10449a425
Refine path filtering with regexes 3 years ago
Mickaël Menu 81f3aaa6fa
Add a default template 3 years ago
Mickaël Menu e0c8e2fd02
Make the fzf preview command customizable 3 years ago
Mickaël Menu 1f0e536e14
Differentiate empty string from null strings for the pager in the config 3 years ago
Mickaël Menu e61a2c9dba
Fix command execution with flags 3 years ago
Mickaël Menu 7e3e2cbd20
Add a fzf binding to create a new note with the search query from the edit command 3 years ago
Mickaël Menu 2111deb88d
Add recursive link filtering 3 years ago
Mickaël Menu a0ba426aa2
Add "linked by" note filter 3 years ago
Mickaël Menu 0b0e7dfd08
Add note links to the database 3 years ago
Mickaël Menu 225b0c2603
Add support for user aliases 3 years ago
Mickaël Menu 1b905dacfd
Don't prompt the user when the terminal is not interactive 3 years ago
Mickaël Menu f1df4320ed
Add a cross-platform way to execute a shell command and string utilities 3 years ago
Mickaël Menu cd2040a74b
Fix sorting indexed notes by their paths in the database 3 years ago
Mickaël Menu c5172ee195
Fix hanging pager when quitting the process before writing is complete 3 years ago
Mickaël Menu 9876bcec00
Print indexing statistics 3 years ago
Mickaël Menu 58cfec5c80
Add a progress report during indexing 3 years ago
Mickaël Menu 1a9604ea34
Add flag to force indexation 3 years ago
Mickaël Menu a691a8857c
Support `pager` and `no-pager` config options 3 years ago
Mickaël Menu b86a74d1e9
Use the system pager to paginate list results 4 years ago
Mickaël Menu 18f8c39d5d
Store dates as UTC 4 years ago
Mickaël Menu be25da2b80
Refactor FTS5 query sanitizing 4 years ago
Mickaël Menu 0e8ae93450
Improve test result diffing 4 years ago
Mickaël Menu e0aaa60955
Move zk/file to util/paths 4 years ago
Mickaël Menu 31c13c6af4
Add the {{prepend}} template helper to quote or indent a paragraph 4 years ago
Mickaël Menu 8a876f3b7f
Test note DAO 4 years ago
Mickaël Menu 0573852529
Index notes content 4 years ago
Mickaël Menu b4f2c841eb
Move Diff to zk package and add Dir walking 4 years ago
Mickaël Menu 6831823e5d
Edit newly created notes 4 years ago
Mickaël Menu f2025b3a60
Refactor and test note creation 4 years ago
Mickaël Menu 4d0c0ccdda
Refactor user config 4 years ago
Mickaël Menu 6a4a4c77e6
Move ID model to core 4 years ago
Mickaël Menu fdf6718317
Refactor note creation 4 years ago
Mickaël Menu 8bb9f83eef
Create a new note 4 years ago
Mickaël Menu abe0094dda
Refactor config getters into Zk 4 years ago
Mickaël Menu be4b58c979
Add zk.Dir struct 4 years ago
Mickaël Menu 768939f3fe
Add the {{sh}} template helper 4 years ago
Mickaël Menu 1490bb5ecb
Add the {{date}} template helper 4 years ago
Mickaël Menu 6dfa9b6949
Add the {{slug}} template helper 4 years ago
Mickaël Menu 76ac1d1bb1
Add a handlebars template renderer 4 years ago
Mickaël Menu 3bfc0754c7
Generate random IDs 4 years ago
Mickaël Menu 8b8a66f2f2
Parse config values 4 years ago
Mickaël Menu c4a5648238
Parse zk config 4 years ago
Mickaël Menu 9f4d2ac81b
Refactor init command and add errors util 4 years ago