]> Sergey Matveev's repositories - dotfiles.git/blob - vim/.vim/ftdetect/mutt.vim
Vim scripts refactoring
[dotfiles.git] / vim / .vim / ftdetect / mutt.vim
1 function! s:KillSignature() abort
2     call cursor(1, 1)
3     call search('^[>|] \?-- \?$')
4     if getpos(".")[1] != 1
5         normal d}
6     endif
7 endfunction
8
9 autocmd BufRead /tmp/mutt-* call s:KillSignature()
10 autocmd BufRead /tmp/mutt-* setlocal textwidth=72