====== Vim的Dokuwiki快捷键配置 ======
Vim和Dokuwiki的完美结合,让你用Vim写Dokuwiki更爽。
===== 使用方法 =====
把下面的vim map代码写入文件
使用的使用直接用:source dokuwiki-keys.vim导入快捷键map。
也可以直接将mapping代码写入到.vimrc中。
===== Vim的Dokuwiki快捷键=====
vmap "zdi**z**
imap ** **2hi
vmap "zdi//z//
imap // //2hi
vmap "zdi__z__
imap __ __2hi
vmap "zdi''z''
imap '' ''2hi
vmap "zdiz
imap 5hi
vmap "zdi[[z]]
imap [[]]2ha
vmap "zdi======= z =======
imap ======= =======7hi
vmap "zdi====== z ======
imap ====== ======6hi
vmap "zdi===== z =====
imap ===== =====5hi
vmap "zdi==== z ====
imap ==== ====4hi
vmap "zdi=== z ===
imap === ===3hi
vmap "zdi== z ==
imap == ==3hi
nmap :s/.*/ * &/
imap *
nmap :s/.*/ - &/
imap -
===== 增大/减小 标题Level =====
" Increase heading by one level
imap == ==
" Decrease heading by one level
imap =-
===== 参考 =====
* http://www.dokuwiki.org/tips:vimkeys