A personal wiki for Vim

Vimwiki is a personal wiki for Vim – interlinked, plain text files written in a markup language

With Vimwiki you can



screenshot1 screenshot2


Press <Leader>ww (this is usually \ww) to go to your index page. By default it is located in ~/vimwiki/

Feed it with the following example:

= My knowledge base =
    * Tasks -- things to be done _yesterday_!!!
    * Project Gutenberg -- good books are power.
    * Scratchpad -- various temporary stuff.

Place your cursor on Tasks and press Enter to create a link. Press Enter again to open it. Edit the new page, save it, and press Backspace to jump back to your index.

A Vimwiki link can be constructed from more than one word. Just visually select the words to be linked and press Enter. Try it with Project Gutenberg. The result should look something like:

= My knowledge base =
    * [[Tasks]] -- things to be done _yesterday_!!!
    * [[Project Gutenberg]] -- good books are power.
    * Scratchpad -- various temporary stuff.

See :h vimwiki for the full documentation.

Basic markup (default syntax)

= Header1 =
== Header2 ==
=== Header3 ===

*bold text*
_italic text_

[[wiki link]]
[[wiki link|description]]

* bullet list item 1
* bullet list item 2
    a) numbered list item 1
    b) numbered list item 2

def greet(s):
    print("Hello, " + s)

| a table |  |
|         |  |

For other syntax elements, see :h vimwiki-syntax

Key bindings

For more keys, see :h vimwiki-mappings


For more, see :h vimwiki-commands


Use the Plugin-manager of your choice to install vimwiki. Currently the usage of the dev-branch is recommended.


Make sure you have these settings in your vimrc file:

set nocompatible
filetype plugin on
syntax on

Without them Vimwiki will not work properly.

Installation using Vim-Plug

Add the following to the plugin-configuration in your vimrc:

Plug 'vimwiki/vimwiki', { 'branch': 'dev' }

Then run :PlugInstall.

Installation using Pathogen

cd ~/.vim
mkdir bundle
cd bundle
git clone

Alternatively, download the latest development version (zip tar) and extract it into ~/.vim/bundle/

Then launch Vim, run :Helptags and then :help vimwiki to verify it was installed.