Commit Graph

239 Commits

Author SHA1 Message Date
Will Ernst
f06142d50f Merge branch 'renerocksai:main' into main 2021-12-11 09:27:06 -07:00
Rene Schallner
a911410705 stylua 2021-12-11 16:25:33 +01:00
Rene Schallner
6429239c97 support tags surrounded by quotes 2021-12-11 16:24:54 +01:00
Rene Schallner
9e97e8ac20 show_tags 2021-12-11 06:47:37 +01:00
Liquidmantis
af0708dbda add date offsets for note templates 2021-12-10 21:18:37 -07:00
Rene Schallner
1c2bece95c make stylua happy again after taking over my home 2021-12-11 00:34:25 +01:00
Rene Schallner
a9102eaed7 telekasten, take over my home! 2021-12-11 00:32:12 +01:00
Rene Schallner
a69b8ac273 fix filetype for live_grepped pickers 2021-12-10 19:07:42 +01:00
Rene Schallner
0c6368c6da implement #26 : follow external urls 2021-12-10 18:22:19 +01:00
Rene Schallner
fc4896aab1 fix #31 : dropdown panel prompt position 2021-12-10 17:20:55 +01:00
Rene Schallner
d49d93cf68 implement #30 set filetype=telekasten 2021-12-10 17:03:49 +01:00
Rene Schallner
c5fb4f7f28 Telekasten command documentation 2021-12-10 05:29:07 +01:00
Rene Schallner
d8aeda5300 Telekasten command with completion 2021-12-10 04:25:37 +01:00
Rene Schallner
2b4076015e command palette and Telekasten command 2021-12-09 22:42:25 +01:00
Rene Schallner
8c03fe4601 fix: following a [hyperlink](https://.....) will now not result in an
error but search for `hyperlink`. Support for external links is planned.
2021-12-09 22:39:33 +01:00
Rene Schallner
0c868e51ee added comment 2021-12-09 06:16:42 +01:00
Rene Schallner
45eac53ecb We can now follow tags 2021-12-09 05:40:53 +01:00
Rene Schallner
941fed6ed7 stylua 2021-12-08 20:16:56 +01:00
Rene Schallner
e710d725fe initial support for tags: we start with: syntax 2021-12-08 19:04:01 +01:00
Rene Schallner
273a6fbbe2 make luacheck happy 2021-12-05 00:06:47 +01:00
Rene Schallner
50c99967de fix #20 follow-up: remove bindings preventing normal mode 2021-12-04 19:31:14 +01:00
Rene Schallner
2d0dc3793e fix #20: search all subdirs for [[link]], erase unused template instantiations 2021-12-04 19:13:53 +01:00
Rene Schallner
309eefe16b browse_media() and picker actions 2021-12-03 16:38:57 +01:00
Rene Schallner
7f5d44db4a Merge pull request #19 from lambtho12/main
fix: paste link after cursor
2021-12-02 12:39:12 +01:00
Rene Schallner
8da0bd070a fixed image preview: finding path to img previewer more robust now 2021-12-02 11:27:47 +01:00
Lambtho
200408712b fix: paste link after cursor 2021-12-02 09:55:59 +01:00
Rene Schallner
73593abc38 reformatted lua 2021-12-01 17:46:38 +01:00
Rene Schallner
4fcfe3974e cleanup post-merge pr 2021-12-01 17:13:29 +01:00
Lambtho
ee3a2ba521 fix: sanitize filesearch 2021-12-01 16:16:44 +01:00
Rene Schallner
31c4a605db Fix #16: templates should be optional 2021-12-01 16:10:18 +01:00
lambtho12
0d79b28723 fix: sanitize title input (prevent double extension) 2021-12-01 14:36:53 +01:00
Rene Schallner
4914c9d639 Fix #15: silly bug caused following non-special links to crash 2021-12-01 14:24:45 +01:00
Rene Schallner
1bd06e5d36 we can now follow links to headings and paragraphs both globally and
within specific notes!
2021-12-01 05:35:12 +01:00
Rene Schallner
35f4e6342f fix #12 (working with subdirectories): links to notes within
sub-directories will now always contain the relative path
2021-11-30 16:37:46 +01:00
Rene Schallner
e52c336391 preview images of markdown links 2021-11-30 15:53:23 +01:00
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