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'}]

1 Answer 1


See this page. Specifically:

For those trying to use this you need:

let g:vimwiki_markdown_link_ext = 1


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.