summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-11-11 14:20:16 +0100
committerFlorian Pritz <bluewind@xinu.at>2018-11-11 14:20:16 +0100
commit39c0fba8db14476dab5cb74b3a4f5a4029657c22 (patch)
treebbe417b563cb82d4255985b39febb274f6440e27
parent3e725893a153b90a98e4b0f8248769188e3cf43a (diff)
downloaddotfiles-39c0fba8db14476dab5cb74b3a4f5a4029657c22.tar.gz
dotfiles-39c0fba8db14476dab5cb74b3a4f5a4029657c22.tar.xz
vim: Add vim-mail
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--.gitmodules3
m---------.vim/bundle/vim-mail0
-rw-r--r--.vimrc12
3 files changed, 15 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index 3d8126a..87016b3 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -130,3 +130,6 @@
[submodule ".vim/bundle/vimtex"]
path = .vim/bundle/vimtex
url = https://github.com/lervag/vimtex.git
+[submodule ".vim/bundle/vim-mail"]
+ path = .vim/bundle/vim-mail
+ url = https://github.com/dbeniamine/vim-mail.git
diff --git a/.vim/bundle/vim-mail b/.vim/bundle/vim-mail
new file mode 160000
+Subproject 5adc98b985790a888f19a6d14219c96fca04a7e
diff --git a/.vimrc b/.vimrc
index 12607e1..9b6d7b3 100644
--- a/.vimrc
+++ b/.vimrc
@@ -116,6 +116,8 @@ Plugin 'thaerkh/vim-workspace'
Plugin 'rhysd/vim-grammarous'
+Plugin 'dbeniamine/vim-mail'
+
call vundle#end()
syntax on
filetype plugin indent on
@@ -278,6 +280,16 @@ function! g:grammarous#hooks.on_reset(errs) abort
nunmap <buffer><C-p>
endfunction
+" vim-mail
+let g:VimMailContactsProvider='khard'
+let g:VimMailSpellLangs=['en', 'de']
+let g:VimMailFromList = [
+ \'Florian Pritz <florian@server-speed.net>',
+ \'Florian Pritz <bluewind@archlinux.org>',
+ \'Florian Pritz <bluewind@xinu.at>'
+ \]
+let g:VimMailDoNotFold=1
+
" unite
let g:unite_source_history_yank_enable = 1
call unite#filters#matcher_default#use(['matcher_fuzzy'])