From: Stefan Huber Date: Wed, 16 Dec 2020 12:15:52 +0000 (+0100) Subject: plugin: Add vim-mail X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=e4915532466771c14129c2a1a403bf414b6f1832;p=vimconf.git plugin: Add vim-mail --- diff --git a/init.vim b/init.vim index 277812b..d380726 100644 --- a/init.vim +++ b/init.vim @@ -174,6 +174,7 @@ au FileType markdown call RagtagInit() let g:detectspelllang_langs = {} let g:detectspelllang_langs.aspell =[ 'en_US', 'de_AT'] +au FileType mail let g:VimMailSpellLangs=['de', 'en'] :let g:org_todo_keywords = [['TODO(t)', 'WAITING(w)', '|', 'DONE(d)'], \ ['|', 'OBSOLETE(o)', 'WONT(n)'], @@ -201,6 +202,12 @@ au FileType java imap (JavaComplete-Imports-AddMissing) au FileType java nmap (JavaComplete-Imports-RemoveUnused) au FileType java imap (JavaComplete-Imports-RemoveUnused) +let g:VimMailContactsProvider=['khard'] +let g:VimMailContactsCommands={ + \'khard': + \{ 'query' : "khard email --parsable --search-in-source-files", + \'sync': "/bin/true"} + \} """""""""""""""""""""""""""""""""""""""""""""""""""""""""""" diff --git a/plugins.vim b/plugins.vim index c809770..5aec47a 100644 --- a/plugins.vim +++ b/plugins.vim @@ -75,6 +75,8 @@ Plug 'vim-scripts/loremipsum', {'on': 'Loremipsum'} Plug 'lambdalisue/vim-manpager', {'on': 'MANPAGER'} +Plug 'dbeniamine/vim-mail' + if filereadable($HOME . '/.vim/plugins-local.vim') source ~/.vim/plugins-local.vim endif