plugin: Add vim-mail
authorStefan Huber <shuber@sthu.org>
Wed, 16 Dec 2020 12:15:52 +0000 (13:15 +0100)
committerStefan Huber <shuber@sthu.org>
Wed, 16 Dec 2020 12:15:52 +0000 (13:15 +0100)
init.vim
plugins.vim

index 277812bd934bd8e6c3447f748711d7d282487a7e..d38072627a1458dc24fbe6335d3e8f4a168a2acb 100644 (file)
--- 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']
 
 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)'],
 
 :let g:org_todo_keywords = [['TODO(t)', 'WAITING(w)', '|', 'DONE(d)'],
       \ ['|', 'OBSOLETE(o)', 'WONT(n)'],
@@ -201,6 +202,12 @@ au FileType java imap <F6> <Plug>(JavaComplete-Imports-AddMissing)
 au FileType java nmap <F7> <Plug>(JavaComplete-Imports-RemoveUnused)
 au FileType java imap <F7> <Plug>(JavaComplete-Imports-RemoveUnused)
 
 au FileType java nmap <F7> <Plug>(JavaComplete-Imports-RemoveUnused)
 au FileType java imap <F7> <Plug>(JavaComplete-Imports-RemoveUnused)
 
+let g:VimMailContactsProvider=['khard']
+let g:VimMailContactsCommands={
+    \'khard':
+    \{ 'query' : "khard email --parsable --search-in-source-files",
+        \'sync': "/bin/true"}
+  \}
 
 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 
 
 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 
index c809770c242a1bc7c7f14fcf9098f652a42b55ea..5aec47aab4860b74cc8d6e6f1e2565c176a2378c 100644 (file)
@@ -75,6 +75,8 @@ Plug 'vim-scripts/loremipsum', {'on': 'Loremipsum'}
 
 Plug 'lambdalisue/vim-manpager', {'on': 'MANPAGER'}
 
 
 Plug 'lambdalisue/vim-manpager', {'on': 'MANPAGER'}
 
+Plug 'dbeniamine/vim-mail'
+
 if filereadable($HOME . '/.vim/plugins-local.vim')
   source ~/.vim/plugins-local.vim
 endif
 if filereadable($HOME . '/.vim/plugins-local.vim')
   source ~/.vim/plugins-local.vim
 endif