Time flies; I'm finally releasing a new version!
There's a steady flow of improvements. In this release, I think the main highlight is that wiki.vim now handles links in Markdown files in a more natural manner. For instance, it applies URL decoding of markdown links.
Features
- Links
- [breaking] Add new default
md
scheme for Markdown (#383)- Uses URL decoding while resolving link URLs.
- Applies URL encoding for parantheses.
- The
vimdoc
handler now properly supports all<plug>(wiki-link-follow*)
maps (#364) - Add
:WikiLinkRemove
with default map<leader>wlr
(#224) - Add visual mode version of
<plug>(wiki-add-link)
(#369) - Add ability to follow anchors to heading-id (#381)
- Remove enclosing angled brackets while resolving URLs (#386)
- [breaking] Add new default
- API
- Add
wiki#graph#get_broken_links()
- [breaking] Rename
wiki#graph#get_broken_links
towiki#graph#get_number_of_broken_links
- Use caching for
wiki#graph#get_number_of_broken_links
to improve performance
- Add
- UI
- [breaking] Add banged version (see
:help :command-bang
) for the global commands:WikiIndex
,:WikiJournal
,:WikiPages
, and:WikiTags
(#387)- With a bang (e.g.
:WikiIndex!
), the command behaves as before: It first goes to the index of the currently opened wiki. If no current wiki is detected, it falls back to index for the globally defined wiki (specified byg:wiki_root
). - Without a bang (e.g.
:WikiIndex
), the command always goes to the globally defined wiki.
- With a bang (e.g.
- Add command completion to
:WikiOpen
(#372) - Add support for more "accept keys" for fzf version of
:WikiPages
(#391)
- [breaking] Add banged version (see
- Other
- Allow to reverse order of journal index with
reverse
key forg:wiki_journal_index
(#363) - Add option
g:wiki_mappings_prefix
to allow to change the default mapping prefix (#362) - [breaking] Improve fzf select methods (#376, #378)
- This brings a minor breaking change: The option
g:wiki_fzf_pages_force_create_key
was renamed tog:wiki_fzf_force_create_key,
since it is now also used forwiki#fzf#links()
.
- This brings a minor breaking change: The option
- Several improvements to the docs (#355, #357, #358, #359, #360, #361, #365, #369, #370, #371, #382, #384, #389, #393)
- Allow to reverse order of journal index with
Bug Fixes
- Links
- Other
- Fix an error with graph cache invalidation (#348)
- Ensure we use a fast cache refresh for
wiki#graph#find_backlinks()
(#374) - Wrap shellescape for better Windows support (#351)
- Use proper string parsing to avoid an infinite loop situation (#367)
- Avoid
:
as separator in fzf functions due to windows file paths (#365) - Properly set default viewer on windows
- Fix a bug in relative link updates on
:WikiPageRename
(#385) - Ensure telescope selector for tags has the path value (#365)
- Avoid using
iconv
while URL encoding/decoding as it doesn't work properly on all systems (#395) - Various fixes for minor, small, and some silly bugs (e.g. #388)
Acknowledgements
There have been several contributions from the community; thanks! 🤩
As before, I would like to give a special thanks to everyone who contributes with PRs: @qadzek (#355, #357, #358, #359, #384, #393), @A-dot-S-dot (#371, #376, #377, #378), @sonjiku (#381), @matthew-brett (#382), and @rvmtz (#388).