Translations of this page are also available in the following languages: Русский
To easy edit gEDA wiki pages in Vim you may use DokuVimKi.
You can install DokuVimKi as follows:
~/.vim
: git clone git://github.com/chimeric/dokuvimki.git cd dokuvimki for i in doc plugin syntax; do cp "$i"/* ~/.vim/"$i"/; done
:h dokuvimki
to open DokuVimKi help you can generate Vim help tags for it using :helptags ~/.vim/doc/
in Vim.locate xmlrpclib
See https://www.dokuwiki.org/devel:xmlrpc for more information on this.
git clone git://github.com/chimeric/dokuwikixmlrpc cd dokuwikixmlrpc sudo python setup.py install
See the Python documentation for more information about installing python modules.
~/.vimrc
file: let g:DokuVimKi_USER = "your_wiki_login_name" let g:DokuVimKi_PASS = "YOUR_WIKI_PASSWORD" let g:DokuVimKi_URL = "http://wiki.geda-project.org/lib/exe/xmlrpc.php" " Optional settings. See ':DWhelp' for details. ""let g:DokuVimKi_INDEX_WINWIDTH = 30 ""let g:DokuVimKi_DEFAULT_SUM = "[xmlrpc dokuvimki edit]"
vim +DokuVimKi
To quickly invoke this command you could add the following aliases into your ~/.bashrc
file:
# Vim aliases for gEDA alias vimgeda="vim +DokuVimKi" alias gvimgeda="gvim +DokuVimKi"
That's all. Type gvimgeda
, wait a bit and enjoy the online
Dokuwiki editing in Vim!