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
Mickaël Menu
4c8a7b4105
Rename every occurrence of "slip box" into "notebook"
2021-02-15 22:44:31 +01:00
Mickaël Menu
55ea92f52b
Add a default config file
2021-02-14 23:05:11 +01:00
Mickaël Menu
4bff1cd326
Reorganize config structure
2021-02-13 22:16:11 +01:00
Mickaël Menu
e12d7cca42
Prevent recursive aliases
2021-02-13 21:07:06 +01:00
Mickaël Menu
9f0b5dc7d4
Add support for Wiki links and neuron's Folgezettel links
2021-02-13 16:39:49 +01:00
Mickaël Menu
ade5da20df
Support Markdown autolinking for external links
2021-02-12 19:34:04 +01:00
Mickaël Menu
e0c8e2fd02
Make the fzf preview command customizable
2021-02-11 21:31:47 +01:00
Mickaël Menu
1f0e536e14
Differentiate empty string from null strings for the pager in the config
2021-02-11 20:48:38 +01:00
Mickaël Menu
f70b85ed6f
Show path relative to working directory in fzf
2021-02-11 20:32:43 +01:00
Mickaël Menu
6320a627d2
Set ZK_PATH env variable when opening the local slip box, to be used in shell aliases
2021-02-10 21:14:39 +01:00
Mickaël Menu
aa87c570c2
Don't launch fzf or the pager when --no-input is set
2021-02-10 21:04:24 +01:00
Mickaël Menu
17c30a66e5
Improve help output and add --delimiter0 in list command
2021-02-10 20:27:34 +01:00
Mickaël Menu
e61a2c9dba
Fix command execution with flags
2021-02-07 22:43:33 +01:00
Mickaël Menu
16fdcfe751
Improve confirm prompt using third-party library
2021-02-07 19:53:51 +01:00
Mickaël Menu
5ef45020f0
Remove the no-pager config variable
2021-02-07 19:20:07 +01:00
Mickaël Menu
aac1c17a13
Show help as the default command
2021-02-07 19:03:27 +01:00
Mickaël Menu
7e3e2cbd20
Add a fzf binding to create a new note with the search query from the edit command
2021-02-07 17:48:23 +01:00
Mickaël Menu
76fb5f67aa
Migrate from HCL to TOML for the config language
2021-02-06 21:39:18 +01:00
Mickaël Menu
044ccf3ad5
Prevent using several link filter flags at the same time
2021-02-03 22:31:00 +01:00
Mickaël Menu
5905688bd3
Add --related filtering option
2021-02-01 22:04:44 +01:00
Mickaël Menu
d9d5fe1730
Add --max-distance for recursive link filtering options
2021-01-31 17:07:44 +01:00
Mickaël Menu
2111deb88d
Add recursive link filtering
2021-01-31 12:24:33 +01:00