Created
June 2, 2015 01:36
-
-
Save kesco/9bdd0b46e10ef60b19b4 to your computer and use it in GitHub Desktop.
vimwiki
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let g:vimwiki_menu = '' " 不在菜单栏上显示Vimwiki | |
let g:vimwiki_use_mouse = 1 " 使用鼠标 | |
let g:vimwiki_diary_months = { | |
\ 1: '一月', 2: '二月', 3: '三月', 4: '四月', 5: '五月', 6: '六月', | |
\ 7: '七月', 8: '八月', 9: '九月', 10: '十月', 11: '十一月', 12: '十二月' | |
\ } " 设置日期显示文字 | |
autocmd FileType vimwiki setlocal wrap " 折行 | |
let g:vimwiki_valid_html_tags = 'b,i,s,u,sub,sup,kbd,br,hr,img' " 设置可以在笔记中使用的Html Tag | |
let develop_notes = {} " 个人开发笔记 | |
let develop_notes.path = '~/Documents/note/develop-notes' " 笔记文件路径 | |
let develop_notes.path_html = '~/Documents/note/develop-notes/output/' " 笔记转换为HTML输出路径 | |
let develop_notes.template_path = '~/Documents/note/develop-notes/template/' " 用于生成HTML页面的模板 | |
let develop_notes.template_default = 'kesco.tpl' " 默认模板 | |
let develop_notes.nested_syntaxes = {'python': 'python', 'c++': 'cpp', 'java': 'java', 'sh': 'sh', | |
\ 'viml': 'vim', 'xml': 'xml' | |
\ } " 启用的代码语法高亮 | |
let g:vimwiki_list = [develop_notes] " 笔记列表 | |
nmap <leader>wc :VimwikiAll2HTML<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment