Commit Graph

108 Commits (19f60099974dc3cf2d844f422e679ecfed24eeae)

Author SHA1 Message Date
Mickaël Menu ba41fe5a71
Experimental LSP server (#21) 4 years ago
Mickaël Menu be78def5aa
Fix #20 local configuration is optional 4 years ago
Mickaël Menu fa66e78068
Add named filters (#17) 4 years ago
Mickaël Menu 52434f8618
Add the --mentioned-by filtering option (#15)
Find every note whose title is mentioned in the note you are working on with `--mentioned-by file.md`
4 years ago
Mickaël Menu ec574ff519
Fix #4 terminal borked when piping content with Vim 4 years ago
Mickaël Menu e653c71356
Specify the notebook directory explicitly (#14) 4 years ago
Mickaël Menu b82f1f547c
Add a global configuration file (#12) 4 years ago
Mickaël Menu 314024eae0
Add the --mention filtering option (#8) 4 years ago
Mickaël Menu 202ea62322
Use the YAML frontmatter key `date` for the note creation date, when provided 4 years ago
Mickaël Menu 36365c68fb
Expose environment variables to note templates with the new {{env}} variable 4 years ago
Mickaël Menu 9fda155a99
Add a [format.markdown] config section to customize tags syntax 4 years ago
Mickaël Menu f5b3102deb
Save additional metadata in the database (#7)
* YAML frontmatter as a JSON object in `notes.metadata`
    * Print metadata from the YAML frontmatter in `list` output using `{{metadata.<key>}}`, e.g. `{{metadata.description}}`. Keys are normalized to lower case.
* Start and end offsets for link snippets.
    * This could be useful to expand backlinks contexts.
4 years ago
Mickaël Menu f1391b5a63
Rename --linking-to filtering option to --link-to 4 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"`.
4 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`.
4 years ago
Mickaël Menu 6175a73c1c
Parse labels in [[wiki links | label]] and support escaped characters 4 years ago
Mickaël Menu a5b7639bcd
Enable overriding sort criteria of config aliases with --sort flags 4 years ago
Mickaël Menu 81f3aaa6fa
Add a default template 4 years ago
Mickaël Menu 27eda3deb6
Override default sort orders with --sort 4 years ago
Mickaël Menu 65521769c2
Disable --not-link* variants and move database to .zk/notebook.db 4 years ago
Mickaël Menu fbbf8e53dc
Various minor fixes 4 years ago
Mickaël Menu 5f88eba68f
Show path at the end of the fzf line, to emphasis title instead 4 years ago
Mickaël Menu 14bf4d507c
Add support of ZK_EDITOR to set the editor 4 years ago
Mickaël Menu ca56b4b550
Ask to open any existing note with `zk new` 4 years ago
Mickaël Menu bfc5fb4eb9
Allow glob patterns in group.paths config 4 years ago
Mickaël Menu e1c56c398d
Prevent creating notes outside the current notebook 4 years ago
Mickaël Menu 5968547381
Add --group option to `zk new` to override the config group 4 years ago
Mickaël Menu 7a1ba21a64
Replace dir configs with more flexible group config overrides 4 years ago
Mickaël Menu 4c8a7b4105
Rename every occurrence of "slip box" into "notebook" 4 years ago
Mickaël Menu 55ea92f52b
Add a default config file 4 years ago
Mickaël Menu 4bff1cd326
Reorganize config structure 4 years ago
Mickaël Menu e0c8e2fd02
Make the fzf preview command customizable 4 years ago
Mickaël Menu 1f0e536e14
Differentiate empty string from null strings for the pager in the config 4 years ago
Mickaël Menu 17c30a66e5
Improve help output and add --delimiter0 in list command 4 years ago
Mickaël Menu 5ef45020f0
Remove the no-pager config variable 4 years ago
Mickaël Menu 7e3e2cbd20
Add a fzf binding to create a new note with the search query from the edit command 4 years ago
Mickaël Menu 76fb5f67aa
Migrate from HCL to TOML for the config language 4 years ago
Mickaël Menu 5905688bd3
Add --related filtering option 4 years ago
Mickaël Menu d9d5fe1730
Add --max-distance for recursive link filtering options 4 years ago
Mickaël Menu 2111deb88d
Add recursive link filtering 4 years ago
Mickaël Menu 7c2ca2c62e
Add the {{list}} template helper 4 years ago
Mickaël Menu 08e09d94ae
Add a {{concat}} template helper 4 years ago
Mickaël Menu b011d6adc5
Extract contextual snippets for link filters 4 years ago
Mickaël Menu fb78993fbc
Save a link's context as a snippet 4 years ago
Mickaël Menu e4e734f3dd
Add --orphan filtering flag 4 years ago
Mickaël Menu f7a5c04c6e
Add "not" variants for --linked-by and --linking-to 4 years ago
Mickaël Menu 7c6b5af4f9
Add --linking-to filter option 4 years ago
Mickaël Menu a0ba426aa2
Add "linked by" note filter 4 years ago
Mickaël Menu 0b0e7dfd08
Add note links to the database 4 years ago
Mickaël Menu 3d967746d1
Parse Markdown links 4 years ago