dokuwiki.vim


Ⅰ. 插件描述

A simple syntax file for DokuWiki.

Ⅱ. 基本信息

创建日期:  2008-09-11
使用用户:  1
Github星:  2
插件作者:  Bill Powell

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/dokuwiki-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/dokuwiki-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/dokuwiki-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/dokuwiki.vim

Ⅳ. 文档说明

A simple syntax file for DokuWiki.

This consists completely of slight modifications to wikipedia.vim, vimscript #1787, so you'll need to get
that script too, or not much will happen.

I'm no expert, so do let me know if you find any mistakes. My email is in both files. Thanks. :)

This file also provides a few mappings for doing those pesky headers.

,,h1 through ,,h6 will give you a header. This should allow you to press ",,h1" in INSERT mode, then type your header, then press <C-j> to
jump to the next line.

(If <C-j> doesn't jump for you, let me know; this may require latex-suite
(http://vim-latex.sf.net), but that would be a hefty thing to download just for this.)

You can also use ,,hd to demote a header, and ,,hp to promote it.

添加新评论