Vim Tips Wiki

Use this page to discuss script 2226 vimwiki: personal wiki for Vim

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on
  • This page may be out of date: check the script's page above, and its release notes.

Disabling keyboard mappings[]

Is there a way to disable the keyboard mappings? Especially <leader>ww and <leader>ws messes things up for me. If it would be possible to say something like 'let g:vimwiki_nomappings=0' or similar to disable mappings from .vimrc that would be great.

Links with duplicate names[]

I just started using vimwiki. I came across a situtation where I have link "September 2012" in two pages (for example, in daily log and in weekly reports). Here both "September 2012" points to same page, where as I want them to be different. Is there a workaround?

Mailto links[]

It's really a perfect plugin! I've just a proposition to do:

In my professional descriptions wiki, I always add a [[Contact Name]] link and in "Contact" I'd want to add a mailto link, like [[ EMAIL]]. (And if I can put this in a table...).

But I can't find this option. I guess it's not really complicated to implement this option (and I'll try to do it myself), but it might be a good for everyone. Anyway, thank you very much for your work. Geoffrey Nimal

This is fixed.


should work.

Maxim Kim.

Yes ! But, sorry I wasn't complete enough : the link is not good in the HTML document.


I am not sure I get what do you mean by 'not good in the HTML doc'. With the current dev version (downloadable from google code) mailto links are just fine in HTML.

Maxim Kim

Run commands[]

I'm wondering if it would be possible to achieve the following: I would like to use Viki as a journal, documenting - among other things - commands I ran in terminals. I'm currently keeping simple text files that look like this:

--- This command was used to produce the results:

$ ./

--- Could Viki be tweaked to recognize the leading $ to treat the rest of the line as "typewriter" text?

Shouldn't this Q be redirected to a Viki plugin?

Upgrade from 1.2[]

Dunno, when I upgraded from 1.2 (I used Pathogen this time) I get a ton of errors. For example:

line    7:
E121: Undefined variable: path
E116: Invalid arguments for function vimwiki#u#path_common_pfx(idx_path, path) == idx_path
E15: Invalid expression: vimwiki#u#path_common_pfx(idx_path, path) == idx_path
Error detected while processing function <SNR>42_setup_buffer_enter..<SNR>42_find_wiki:

What to do? --December 18, 2013

This has been resolved. I was opening the vim session that was used with the old vimwiki. I didn't realize that the session file saves all vim configurations. Interesting.