wiki.vim v0.6
It's time for a new release. This release brings a few important updates, including one important breaking change (see #289): The default filetype is now Markdown, instead of the previous .wiki
. This should be more aligned with user expectations and I believe it would reduce the required configuration for most users.
Notice that those who use the wiki
filetype and want to still do that now likely need to apply some configuration, e.g.:
let g:wiki_filetypes = ['wiki']
let g:wiki_link_target_type = 'wiki'
let g:wiki_link_extension = ''
Features
- Breaking changes!
- Changed default filetype to Markdown (#289)
- Added
g:wiki_journal_index
option (#260)- The option
g:wiki_journal.index_use_journal_scheme
is deprecated!
- The option
- Unified the "search" commands
WikiPages
,WikiTags
, andWikiToc
and thereby deprecatedWikiFzf*
variants. - Removed support for CtrlP (
:CtrlPWiki
) and for Unite and Denite- I don't want to keep support for these interfaces. I instead want to provide an API that makes it easy to build such interfaces on top for those who are interested.
- Added support for neovim's
vim.ui.select
(#281, #282)- Add configuration option
g:wiki_select_method
forWiki{Pages,Tags,Toc}
- Add configuration option
- Added
g:wiki_journal_index.link_text_parser
andg:wiki_journal_index.link_url_parser
(#260)- This adds a flexible way to specify how
:WikiJournalIndex
should determine the link text and url of the recognized links.
- This adds a flexible way to specify how
- Added
g:wiki_fzf_tags_opts
(#157, #269)- Allows to pass additional options to Fzf in
:WikiTags
(with Fzf backend). This is useful e.g. to add a previewer.
- Allows to pass additional options to Fzf in
- Allowed to disable specified mappings with the
g:wiki_mappings_...
options (#159) - Implemented a less strict reference url detector (#275)
- Allowed
.
inside shortcites (lervag/wiki-ft.vim#13)
Bug Fixes
- Ensure
g:wiki_cache_root
is expanded before use (#261) - Properly initialize
:WikiClearCache
command - Avoid looking for missing keys in cache
- Some minor bugs and issues (#264)
- Recognize links also when line starts with inline code (#267)
- Only navigate to existing nodes with
WikiJournal{Next,Prev}
(#266) - Rely on journal interface for weekly template
- Force case sensitive regexes where necessary (#272)
- Fix issue with
:WikiTagRename
(#285)
Documentation
- Clarified
g:wiki_root
example (#261) - Extend
:help wiki-intro-guide
with a section about the journal (#270) - Several minor improvements (#265, #268, #271, #281)
Acknowledgements
Again there has been several contributions from the community, and as before I would like to give a special thanks to everyone who contributes with PRs: @step- (#268, #269), @mizhozan (#271), @cwolfe3 (#277), @saccarosium (#281), and @trev-dev (#285).