Commit Graph

103 Commits

Author SHA1 Message Date
Mickaël Menu
3b05a0061d
Fix indexing wiki links using partial paths (#104) 2021-11-14 08:20:11 +01:00
Mickaël Menu
aea5308f66
Add a verbose mode to zk index (#103) 2021-11-13 16:56:32 +01:00
Mickaël Menu
59b8269344
Add --dry-run flag for zk new (#96) 2021-10-30 16:44:46 +02:00
Mickaël Menu
439c1b1a69
Customize LSP completion items (#92) 2021-10-23 21:26:23 +02:00
Mickaël Menu
b1c69b4765
Add filename and filename-stem template variables (#91) 2021-10-23 19:24:46 +02:00
Adam Reese
39467a1b7c
Allow indexing from outside the notebook directory (#90) 2021-10-19 10:57:25 +02:00
Mickaël Menu
cfb337c967
Release zk 0.7.0 2021-10-09 20:11:55 +02:00
Mickaël Menu
c4dfb4af9f
Fix indexing encoded Markdown links (#88) 2021-10-09 19:19:09 +02:00
Mickaël Menu
d74cf52d1e
List note tags (#85) 2021-10-03 18:36:59 +02:00
Mickaël Menu
dc27a7dd7c
Improve Markdown and wiki links matching and generation (#71)
Fallback wiki link resolution by matching on title or path
Add new template variables when generating Markdown links
Add a {{substring}} template helper
2021-09-25 19:28:29 +02:00
Mickaël Menu
aed57452f7
Do not exclude notes containing broken links from the index (#80) 2021-09-13 22:41:58 +02:00
Mickaël Menu
1fc7ceafac
Fallback LSP references to the current note (#79) 2021-09-13 22:25:19 +02:00
Mickaël Menu
5abbab4c73
Upgrade dependencies (#73) 2021-08-18 19:51:43 +02:00
Mickaël Menu
8c7ec93ca5
Allow setting the --working-dir and --notebook-dir flags before the subcommand when using aliases (#67) 2021-08-07 18:56:26 +02:00
Peter Stuifzand
977625bb3d
Add "abs-path" to template format (#60) 2021-07-14 16:17:22 +02:00
Mickaël Menu
d8e3aa86f6
Release zk 0.6.0 2021-07-10 12:22:16 +02:00
Mickaël Menu
8ae67868b6
Add a new configuration option to ignore files when indexing notes (#59) 2021-07-10 12:21:21 +02:00
Peter Stuifzand
a72a2a5f74
LSP references to browse the backlinks of the link under the caret (#58) 2021-07-10 10:50:35 +02:00
Mickaël Menu
5b877dd953
Fix unicode support in wiki links (#49) 2021-06-23 21:57:16 +02:00
Mickaël Menu
729dbe9760
Add JSON and JSON lines list formats (#52) 2021-06-20 21:08:18 +02:00
Mickaël Menu
274234e608
Fix links with section anchors (#51) 2021-06-19 16:23:22 +02:00
Mickaël Menu
ac80a3cca1
Release zk 0.5.0 2021-05-23 16:49:32 +02:00
Mickaël Menu
6771eb0e43
Auto-complete only the path of a Markdown link by typing: [custom title](( (#43) 2021-05-23 15:26:04 +02:00
Mickaël Menu
aa68199df8
Publish LSP diagnostics for dead links and wiki-link titles (#42) 2021-05-16 22:11:31 +02:00
Mickaël Menu
e8cb1d8046
Fix completion with Neovim's built-in LSP client (#41) 2021-05-13 22:05:42 +02:00
Mickaël Menu
b17b42a06f
Add LSP custom commands and code actions to create new notes (#40) 2021-05-11 21:53:19 +02:00
Mickaël Menu
83b14ca827
Customize the format of fzf's lines with your own template (#36) 2021-04-25 12:40:53 +02:00
Mickaël Menu
fa8226b263
Release zk 0.4.0 2021-04-24 15:20:11 +02:00
Mickaël Menu
980244d2c3
Add an interactive wizard for zk init (#35) 2021-04-24 15:17:38 +02:00
Mickaël Menu
f3ebdb4813
Support for VS Code and minor LSP fixes (#34) 2021-04-24 14:11:09 +02:00
Mickaël Menu
2bb4cbdff4
Generate internal links to notes (#32) 2021-04-18 16:37:54 +02:00
Mickaël Menu
083c0dae73
Add --exact-match option (#30) 2021-04-17 13:06:23 +02:00
Mickaël Menu
6ba92a03b7
Add --working-dir option (#29) 2021-04-17 11:28:38 +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
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
e653c71356
Specify the notebook directory explicitly (#14) 2021-03-18 19:47:49 +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
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
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