From: Stefan Huber Date: Sun, 20 Jan 2019 10:46:39 +0000 (+0100) Subject: plugin: Add vimwiki support X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;ds=inline;h=38338d682e26b5f26d7c3f4c65f4ac18666f46e7;hp=8f6691d6aaeaab042895732fbfd77d2d2ba9e89a;p=vimconf.git plugin: Add vimwiki support --- diff --git a/init.vim b/init.vim index e058adf..42ec945 100644 --- a/init.vim +++ b/init.vim @@ -81,10 +81,10 @@ let g:vim_markdown_math=1 au FileType markdown call RagtagInit() let g:guesslang_langs=[ 'en_US', 'de_AT'] -au FileType text,markdown,mail,tex,gitcommit,mediawiki setlocal spell +au FileType text,markdown,mail,tex,gitcommit,mediawiki,vimwiki setlocal spell au BufReadPost * :DetectIndent -au FileType text,markdown,mail,gitcommit,mediawiki set fo+=n +au FileType text,markdown,mail,gitcommit,mediawiki,vimwiki set fo+=n au FileType mediawiki setlocal wrap linebreak tw=0 @@ -113,6 +113,8 @@ au BufRead,BufNewFile *.plt set filetype=gnuplot \ ['|', 'OBSOLETE(o)', 'WONT(n)'], \ ['CANCELED(c)']] +let g:vimwiki_list = [{'path': '~/.vimwiki/'}] + " Trailing whitespace highlight default link TrailingWhitespace SpellCap " Make trailing whitespace be flagged as bad. diff --git a/plugins.vim b/plugins.vim index ead7f51..c9d89df 100644 --- a/plugins.vim +++ b/plugins.vim @@ -45,6 +45,8 @@ Plug 'Shougo/neosnippet-snippets' Plug 'tpope/vim-speeddating' Plug 'jceb/vim-orgmode', {'for': ['org']} +Plug 'vimwiki/vimwiki' +Plug 'mattn/calendar-vim' Plug 'Konfekt/vim-DetectSpellLang', {'do': 'spell'} Plug 'roryokane/detectindent'