Working with Vim Wiki Pages
These commands are helpful for working with the pages in your wiki.
Working with Pages:
To create a new page, use
<Leader>wn from inside your wiki (you have to
navigate to your wiki first). You’ll be prompted for the file’s path and can
then create and navigate to your new page.
If you decide to delete the page, you can use
<Leader>wd. Or if you need to
||Create a new wiki page.|
||Delete the current wiki page.|
||Rename the current wiki page.|
Working Within Pages
VimWiki also provides some helper commands for working with your wiki pages.
= command will add a header level to your current heading (or add
a heading level if there isn’t one already). The opposite would be
removes a heading level.
The other really common action you’ll need in your wiki is creating links. The
VimWiki command for this is
+, in normal mode, which will convert the
current text into a link. Hitting
<CR> will then navigate to that wiki page
(creating it if it doesn’t already exist).
Working with HTML
One of the really cool things you can do with VimWiki is turn your wiki pages into HTML documents. VimWiki provides two commands for doing this:
||Convert the current wiki page into HTML|
||Convert the current wiki page into HTML AND open it in the browser|
These two commands are just the start - VimWiki provides others for turning your document into a full website.