Commit Graph

104 Commits

Author SHA1 Message Date
Rene Schallner
88aa0e4d62 image link insertion, plus img preview via extension 2021-11-30 14:16:01 +01:00
Rene Schallner
853412aca6 update comments 2021-11-30 03:36:24 +01:00
Rene Schallner
85beeb0038 refactored to single function style, improved find_files_sorted() with devicons and shebangs
-- find_files_sorted(opts)
-- like builtin.find_files, but:
--     - uses plenary.scan_dir synchronously instead of external jobs
--     - pre-sorts the file list in descending order (nice for dates, most recent first)
--     - (also supports devicons)
--     - displays subdirs if necessary
--         - e.g. when searching for daily notes, no subdirs are displayed
--         - but when entering a date in find_notes, the daily/ and weekly/ subdirs are displayed
2021-11-30 03:30:48 +01:00
Rene Schallner
84ca1ec0c9 daily, weekly pickers: don't display path names! 2021-11-30 00:33:58 +01:00
Rene Schallner
d3710d8e50 added option parameter i to toggle_todo(opts) and insert_link(opts) to enter insert mode. 2021-11-28 00:33:13 +01:00
Rene Schallner
d0c5b6f284 new feature: find_friends(): friend notes are note that reference the
same note as the link under the cursor
2021-11-27 23:15:50 +01:00
Rene Schallner
9f286ae78e implement #3: show backlinks 2021-11-27 14:28:49 +01:00
Rene Schallner
54e6af33f4 attempt to fix #4 by reverting to vim.fn api from vim.ui api. 2021-11-27 06:51:56 +01:00
Rene Schallner
cc8e735dff Fix #1: setup was not refreshing lookup table to templates (and maybe
other stuff)
2021-11-27 03:21:22 +01:00
Rene Schallner
1678479e1c fixi fixi after cleanup 2021-11-26 14:05:52 +01:00
Rene Schallner
05b959b2af toggle todo lines!!! first try! 2021-11-26 14:01:07 +01:00
Rene Schallner
abb5f01b5c fix markdown links to pasted imgs 2021-11-26 05:42:26 +01:00
Rene Schallner
777f4197fc less noise 2021-11-26 05:40:27 +01:00
Rene Schallner
87c4c1de21 more sane defaults for pasted images 2021-11-26 05:38:21 +01:00
Rene Schallner
723a2d25ef shorten markdown links to pasted images 2021-11-26 05:30:11 +01:00
Rene Schallner
97b5d322c9 support for IMAGE PASTING!!!!!!!!!!!!! 2021-11-26 04:49:51 +01:00
Rene Schallner
ab80db3ec9 fix: os.date.wday misinterpretation 2021-11-26 02:19:36 +01:00
Rene Schallner
4735cef711 lua-native sorting of dialy, weekly notes - thx to plenary.scan_dir()!!! 2021-11-26 02:03:10 +01:00
Rene Schallner
39ab56dfb0 trailing space removal (format) 2021-11-24 13:11:12 +01:00
Rene Schallner
8639e8865c re-broke long vimscript line, this time properly 2021-11-24 13:06:42 +01:00
Rene Schallner
3d6f244da0 re-introduced long line after breaking vimscript 2021-11-24 13:03:26 +01:00
Rene Schallner
29af4fdcc0 Formatted with stylua and checked with luacheck 2021-11-24 12:49:03 +01:00
Simon Hauser
6103af9800 fix: no more globals 2021-11-24 08:54:21 +01:00
Rene Schallner
5be94a786e rename misleading var 2021-11-24 00:34:30 +01:00
Rene Schallner
39c7ba0129 FIX: honor day, month, year etc when creating a note via calendar! 2021-11-24 00:18:01 +01:00
Rene Schallner
7703643806 fixi fixi 2021-11-23 04:07:06 +01:00
Rene Schallner
65b212c4e9 calendar support!!!!!!!!! 2021-11-23 04:02:22 +01:00
Rene Schallner
cd040c165d added new_templated_note() 2021-11-22 23:54:09 +01:00
Rene Schallner
3d0533ba73 yank notelink 2021-11-22 12:24:18 +01:00
Rene Schallner
fef6e5edeb fixed bug: when following link: check if target exists in daily, weekly,
too!
2021-11-22 01:16:51 +01:00
Rene Schallner
3bcaa73f11 removed old comments 2021-11-22 00:50:53 +01:00
Rene Schallner
b252f9ebe9 refactored! daily finder is gone! 2021-11-22 00:43:12 +01:00
Rene Schallner
f3b4f6d9e2 update readme 2021-11-21 21:50:26 +01:00
Rene Schallner
5d25dd0a26 cleanup 2021-11-21 21:32:35 +01:00
Rene Schallner
8a974d1279 cleanup 2021-11-21 21:31:05 +01:00
Rene Schallner
f8a9a2e794 cleanup 2021-11-21 21:25:55 +01:00
Rene Schallner
6b6169515c cleanup 2021-11-21 21:23:03 +01:00
Rene Schallner
3ee8ba7716 fix config bug 2021-11-21 21:21:45 +01:00
Rene Schallner
2d5d318952 weekly templates, findings, ... 2021-11-21 20:55:58 +01:00
Rene Schallner
3bc1269f0f update readme: optional note creation 2021-11-21 19:38:11 +01:00
Rene Schallner
4c6b7b2e34 follo links optionally creates non-existing notes, honoring templates 2021-11-21 19:13:54 +01:00
Rene Schallner
5b296d9dc5 refactor to satisfy lsp 2021-11-21 17:34:00 +01:00
Rene Schallner
2237d6d452 move to new repo 2021-11-21 02:13:10 +01:00
Rene Schallner
67fb220931 move to new repo 2021-11-21 02:11:10 +01:00
Rene Schallner
7914a4607b added goto_today 2021-11-21 01:57:50 +01:00
Rene Schallner
d30e4c96a7 fixed follow link 2021-11-21 01:44:12 +01:00
Rene Schallner
d4e07474cf fixi, fixi, updi rimmi 2021-11-21 00:24:12 +01:00
Rene Schallner
2bc1a11672 it's coming together, update README 2021-11-21 00:00:31 +01:00
Rene Schallner
4fd1b49fe9 fixed shell script and stuff 2021-11-20 22:33:09 +01:00
Rene Schallner
50ad25e274 rename daily finder to correct name 2021-11-20 21:42:20 +01:00