When using the vimwiki plugin, when you want to convert any text into a link you can press enter on the selection. Then you follow the link, create the file and work with it.

The problem:

When you push files into GitHub, the link is obviously broken, because there are no link file - there's link.md. How can I automatically append a file extension (.md) to the links?


let g:vimwiki_list = [{'path': '~/knowledge/', 'syntax': 'markdown', 'ext': '.md'}]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.