Vimwiki: Vimwiki shortcut ?

Created on 8 Sep 2017  Â·  3Comments  Â·  Source: vimwiki/vimwiki

Hello,

Thank you for vimwiki :+1:

Is there a way to invoke vimwiki other than having to start vim and then do a ww?

Most helpful comment

You could also add an alias like
alias vw='vim -c VimwikiIndex'
which is more portable.

All 3 comments

Doing ww is basically a shortcut to open the file you use as the mainpage of your wiki. So, yes – You can for example start vim with the path to your wiki page:
$ vim ~/vimwiki/index.wiki

If you are using Linux you can add something like
alias vimwiki='vim ~/vimwiki/index.wiki'
to your bashrc. Or you can create a desktop-icon starting vim with the given file…

[Edit path to whatever you have configured…]

You could also add an alias like
alias vw='vim -c VimwikiIndex'
which is more portable.

Thank you for your answers :) :kissing_cat:

Was this page helpful?
0 / 5 - 0 ratings