diff --git a/BACKLOG.md b/BACKLOG.md index 45a8b33..46da7b5 100644 --- a/BACKLOG.md +++ b/BACKLOG.md @@ -1,7 +1,6 @@ # Backlog -- [ ] option to show number of links and backlinks in note picker - - see #36 +- [ ] improve the whole link count display, sorting, key-mapping - [ ] tag search - search in general: just don't make it turing-complete 😁 - [ ] calendar plugin: make weeks clickable! - [ ] show markers / color indicators for weeks with notes - in calendar.vim fork @@ -21,6 +20,8 @@ - [ ] yt video ## Dones +- [x] option to show number of links and backlinks in note picker + - see #36 - [x] ==backlinks are broken: they contain the home dir== - but only if vim was started in the user's home dir, of which `home` was a subdir : used "%" instead of "%:p" - [x] better support for #tags [see also this comment](https://github.com/renerocksai/telekasten.nvim/discussions/23#discussioncomment-1754511) diff --git a/README.md b/README.md index 0a38e41..5dd5142 100644 --- a/README.md +++ b/README.md @@ -255,6 +255,10 @@ require('telekasten').setup({ -- get_cursor: small tag list at cursor; ivy and dropdown like above show_tags_theme = "ivy", + -- when linking to a note in subdir/, create a [[subdir/title]] link + -- instead of a [[title only]] link + subdirs_in_links = true, + }) END ``` @@ -297,6 +301,7 @@ END | | - `ivy` (default): bottom panel overlay | | | | - `dropdown`: floating popup window || | | - `get_cursor`: floating popup window at cursor position || +| `subdirs_in_links` | include subdirs (if applicable) in generated (yanked, inserted) links| true | The calendar support has its own options, contained in `calendar_opts`: diff --git a/doc/telekasten.txt b/doc/telekasten.txt index e5267ff..1a6f3b5 100644 --- a/doc/telekasten.txt +++ b/doc/telekasten.txt @@ -120,6 +120,10 @@ telekasten.setup({opts}) -- tag list theme: -- get_cursor: small tag list at cursor; ivy and dropdown like above show_tags_theme = "ivy", + + -- when linking to a note in subdir/, create a [[subdir/title]] link + -- instead of a [[title only]] link + subdirs_in_links = true, } < @@ -252,6 +256,12 @@ telekasten.setup({opts}) See |telekasten.tag_notation| for more information. + *telekasten.settings.subdirs_in_links* + subdirs_in_links:~ + Include subdirs (if applicable) in generated (yanked, inserted) links. + + Default: `true` + *telekasten.calendar_opts* ----------------------------------- Valid keys for {opts.calendar_opts}