VimWiki
todo list
-
1 主题
- 2 内容
- 3 结尾
- 快捷键 <C-Space>
- 映射为 <A-Space>
2
网上看到的配置
" vimwiki
let g:vimwiki_camel_case = 0 "少不了用中文,内部链接还是用[[链接]]吧
let g:vimwiki_use_mouse = 1
let g:vimwiki_CJK_length = 1
let g:vimwiki_w32_dir_enc = 'cp936'
let g:vimwiki_menu = 'Plugin.Vimwiki'
let g:vimwiki_browsers=['C:\Program Files\Mozilla Firefox\firefox.exe']
let g:vimwiki_list = [{
\ 'auto_export': 1,
\ 'path': 'E:/Vimwiki/',
\ 'path_html': 'F:/WebRoot/Vimwiki/',
\ 'html_header': 'E:/Vimwiki/template/header.tpl',
\ 'html_footer': 'E:/Vimwiki/template/footer.tpl',
\ 'nested_syntaxes': {'python': 'python', 'perl': 'perl', 'sql': 'sql', 'cmd': 'dosbatch'}}]
au BufNewFile */diary/????-??-??.wiki read E:/Vimwiki/template/vimwiki_diary.tpl | normal ggdd " 日记的模板
1
~~ hello ~~ 删除 hello
\ww 首页 \w\w 日记 \wh 当前页面转为 html \whh 浏览器查看 html \wr 重命名 \wd 删除
:Vimwiki2HTML 当前页转为 html :VimwikiAll2HTML 所有页 html
:vimwiki 然后 TAB 查找
#%nohtml 不生成html #%toc 生成导航