Commit Graph

90 Commits

Author SHA1 Message Date
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
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
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
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
17c30a66e5
Improve help output and add --delimiter0 in list command 2021-02-10 20:27:34 +01:00
Mickaël Menu
5ef45020f0
Remove the no-pager config variable 2021-02-07 19:20:07 +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
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
Mickaël Menu
7c2ca2c62e
Add the {{list}} template helper 2021-01-30 19:30:46 +01:00
Mickaël Menu
08e09d94ae
Add a {{concat}} template helper 2021-01-30 18:39:04 +01:00
Mickaël Menu
b011d6adc5
Extract contextual snippets for link filters 2021-01-30 18:08:02 +01:00
Mickaël Menu
fb78993fbc
Save a link's context as a snippet 2021-01-30 16:32:58 +01:00
Mickaël Menu
e4e734f3dd
Add --orphan filtering flag 2021-01-29 20:40:06 +01:00
Mickaël Menu
f7a5c04c6e
Add "not" variants for --linked-by and --linking-to 2021-01-27 21:25:33 +01:00
Mickaël Menu
7c6b5af4f9
Add --linking-to filter option 2021-01-27 20:20:26 +01:00
Mickaël Menu
a0ba426aa2
Add "linked by" note filter 2021-01-25 22:57:12 +01:00
Mickaël Menu
0b0e7dfd08
Add note links to the database 2021-01-25 21:44:44 +01:00
Mickaël Menu
3d967746d1
Parse Markdown links 2021-01-24 14:33:25 +01:00
Mickaël Menu
225b0c2603
Add support for user aliases 2021-01-24 12:22:47 +01:00
Mickaël Menu
eb130a8107
Add the edit command 2021-01-23 21:15:36 +01:00
Mickaël Menu
72d9d6f8d4
Add user prompt/confirmation utilities 2021-01-23 21:15:17 +01:00
Mickaël Menu
6c95ff43c1
Refactor fzf integration 2021-01-23 15:24:08 +01:00
Mickaël Menu
fe6b062309
Filter notes interactively with fzf 2021-01-23 13:29:14 +01:00
Mickaël Menu
5c59d7946b
Test the note formatter 2021-01-19 23:06:17 +01:00
Mickaël Menu
5759896fd4
Refactor note formatter 2021-01-19 21:13:16 +01:00
Mickaël Menu
aee1d0c781
Add predefined styling rules 2021-01-19 20:51:28 +01:00
Mickaël Menu
c61a6995a2
Proof of concept for filtering notes interactively with fzf 2021-01-19 19:59:03 +01:00
Mickaël Menu
f1df4320ed
Add a cross-platform way to execute a shell command and string utilities 2021-01-19 19:57:18 +01:00
Mickaël Menu
9876bcec00
Print indexing statistics 2021-01-17 12:47:05 +01:00
Mickaël Menu
58cfec5c80
Add a progress report during indexing 2021-01-17 12:09:38 +01:00
Mickaël Menu
1a9604ea34
Add flag to force indexation 2021-01-16 20:53:12 +01:00
Mickaël Menu
f371f58bd2
Add Lead and RawContent to the saved note metadata 2021-01-16 20:18:03 +01:00
Mickaël Menu
29688186f2
Add a proper Markdown parser 2021-01-16 19:37:10 +01:00
Mickaël Menu
a691a8857c
Support pager and no-pager config options 2021-01-16 14:30:52 +01:00
Mickaël Menu
e113707a62
Move parsing of sorting terms to core 2021-01-14 22:45:05 +01:00
Mickaël Menu
38f24148e7
Split note/list into list and find 2021-01-14 22:10:35 +01:00