diff options
author | Florian Pritz <bluewind@xinu.at> | 2018-07-24 10:40:14 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2018-07-24 10:40:14 +0200 |
commit | abcb1309ce915d1ff6ba6a0102395e66ee7b26b9 (patch) | |
tree | 06b8725c234aa225e3d493e8041468924ca1e8ad | |
parent | bc2bac14c4aac224b6659cf3688c0712e6890347 (diff) | |
download | dotfiles-abcb1309ce915d1ff6ba6a0102395e66ee7b26b9.tar.gz dotfiles-abcb1309ce915d1ff6ba6a0102395e66ee7b26b9.tar.xz |
Add email autocmd for mutt
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r-- | .vimrc | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -231,6 +231,12 @@ let g:UltiSnipsListSnippets="<c-l>" let g:UltiSnipsUsePythonVersion=2 let g:UltiSnipsEditSplit="vertical" +let g:ulti_expand_or_jump_res = 0 "default value, just set once +function! Ulti_ExpandOrJump_and_getRes() + call UltiSnips#ExpandSnippetOrJump() + return g:ulti_expand_or_jump_res +endfunction + " tagbar let g:tagbar_left=1 let g:tagbar_autofocus=1 @@ -320,6 +326,7 @@ autocmd FileType python set ts=4 sw=4 softtabstop=4 et autocmd FileType make setlocal noexpandtab autocmd FileType text setlocal textwidth=78 autocmd FileType tex setlocal linebreak spell +autocmd FileType mail setlocal linebreak spell | inoremap <enter> <C-R>=(Ulti_ExpandOrJump_and_getRes() == 1)?"":"\n"<CR> autocmd BufRead,BufNewFile PKGBUILD let is_bash=1 | set ft=sh " move to first line in git commits |