Commit Graph

322 Commits

Author SHA1 Message Date
Mickaël Menu
ba41fe5a71
Experimental LSP server (#21) 2021-04-04 15:31:54 +02:00
Mickaël Menu
be78def5aa
Fix #20 local configuration is optional 2021-03-27 14:36:43 +01:00
Mickaël Menu
3889fff457
Release zk 0.3.0 2021-03-24 21:14:12 +01:00
Mickaël Menu
fa66e78068
Add named filters (#17) 2021-03-24 21:06:32 +01:00
Mickaël Menu
695a3bc351
Fix fzf preview command when setting --notebook-dir 2021-03-21 14:37:07 +01:00
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`
2021-03-20 19:17:46 +01:00
Mickaël Menu
ec574ff519
Fix #4 terminal borked when piping content with Vim 2021-03-20 16:31:11 +01:00
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
2021-03-19 21:19:55 +01:00
Mickaël Menu
26ffc544f2
Fix missing import 2021-03-18 20:27:08 +01:00
Mickaël Menu
e653c71356
Specify the notebook directory explicitly (#14) 2021-03-18 19:47:49 +01:00
Mickaël Menu
be8b2d6289
Fix --version output 2021-03-18 19:39:06 +01:00
Mickaël Menu
b82f1f547c
Add a global configuration file (#12) 2021-03-17 18:04:27 +01:00
Mickaël Menu
925e5337bc
Release zk 0.2.1 2021-03-14 22:23:52 +01:00
Mickaël Menu
6071748dc8
Fix crash when parsing a link snippet in an inline node 2021-03-14 22:23:15 +01:00
Mickaël Menu
01b85c55e8
Fix looking for mentions of a note with a title containing double quotes 2021-03-14 17:20:01 +01:00
Mickaël Menu
29a01c793a
Update README 2021-03-14 15:11:59 +01:00
Mickaël Menu
9a93b0aabb
Release zk 0.2.0 2021-03-13 15:44:05 +01:00
Mickaël Menu
314024eae0
Add the --mention filtering option (#8) 2021-03-13 15:31:05 +01:00
Mickaël Menu
87b5201583
Explain how to use the tags in the documentation 2021-03-12 20:16:55 +01:00
Mickaël Menu
202ea62322
Use the YAML frontmatter key date for the note creation date, when provided 2021-03-12 19:48:20 +01:00
Mickaël Menu
36365c68fb
Expose environment variables to note templates with the new {{env}} variable 2021-03-11 21:18:29 +01:00
Mickaël Menu
9fda155a99
Add a [format.markdown] config section to customize tags syntax 2021-03-11 20:59:53 +01:00
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.
2021-03-08 21:38:32 +01:00
Mickaël Menu
bae1fab567
Exclude a tag with the --tag filtering option 2021-03-07 17:36:54 +01:00
Mickaël Menu
f1391b5a63
Rename --linking-to filtering option to --link-to 2021-03-07 17:14:07 +01:00
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"`.
2021-03-07 17:00:09 +01:00
Mickaël Menu
7dc3120d3a
Separate multiple --extra variables with , instead of ; 2021-03-06 21:16:28 +01:00
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`.
2021-03-06 19:38:52 +01:00
Mickaël Menu
a4b961c36a
Add screencasts in the Getting Started page 2021-03-05 21:56:15 +01:00
Mickaël Menu
838f316694
Add a screencast to the README 2021-02-28 21:00:23 +01:00
Mickaël Menu
6175a73c1c
Parse labels in [[wiki links | label]] and support escaped characters 2021-02-28 11:21:33 +01:00
Mickaël Menu
a5b7639bcd
Enable overriding sort criteria of config aliases with --sort flags 2021-02-27 20:24:12 +01:00
Mickaël Menu
c10449a425
Refine path filtering with regexes 2021-02-27 19:23:03 +01:00
Mickaël Menu
ac545f550a
Guard against infinite loops with recursive links traversal 2021-02-27 18:15:42 +01:00
Mickaël Menu
81f3aaa6fa
Add a default template 2021-02-27 14:24:40 +01:00
Mickaël Menu
7c1bd8b318
Improve README 2021-02-27 12:56:45 +01:00
Mickaël Menu
27eda3deb6
Override default sort orders with --sort 2021-02-27 11:23:16 +01:00
Mickaël Menu
65521769c2
Disable --not-link* variants and move database to .zk/notebook.db 2021-02-27 10:20:53 +01:00
Mickaël Menu
6ce25e0ed6
Add doc pages 2021-02-26 23:20:03 +01:00
Mickaël Menu
0e447f749e
Setup Git LFS 2021-02-26 23:13:59 +01:00
Mickaël Menu
5a00a56984
Check if the terminal supports UTF-8 before outputting unicode symbols 2021-02-25 20:46:19 +01:00
Mickaël Menu
fbbf8e53dc
Various minor fixes 2021-02-24 21:49:56 +01:00
Mickaël Menu
5f88eba68f
Show path at the end of the fzf line, to emphasis title instead 2021-02-21 10:38:51 +01:00
Mickaël Menu
14bf4d507c
Add support of ZK_EDITOR to set the editor 2021-02-20 21:50:00 +01:00
Mickaël Menu
ca56b4b550
Ask to open any existing note with zk new 2021-02-20 21:15:56 +01:00
Mickaël Menu
bfc5fb4eb9
Allow glob patterns in group.paths config 2021-02-20 18:41:57 +01:00
Mickaël Menu
e1c56c398d
Prevent creating notes outside the current notebook 2021-02-20 18:15:47 +01:00
Mickaël Menu
5968547381
Add --group option to zk new to override the config group 2021-02-19 23:02:35 +01:00
Mickaël Menu
7a1ba21a64
Replace dir configs with more flexible group config overrides 2021-02-19 22:41:36 +01:00
Mickaël Menu
1f89978f84
Use $SHELL -c for the {{sh}} template helper 2021-02-17 21:12:39 +01:00