Watch
1
0
Fork
You've already forked dotfiles
0

Group vim and neovim config files in folder “vim”

This commit is contained in:
coderkun 2018-02-24 19:51:11 +01:00
commit d73f12605f
3 changed files with 16 additions and 19 deletions

14
vim/filetype.vim Normal file
View file

@ -0,0 +1,14 @@
augroup filetypedetect
" Mail
autocmd BufRead,BufNewFile /tmp/evo* setfiletype mail
autocmd FileType mail setlocal colorcolumn=72
augroup END
" Break lines for tex-files
augroup WrapLineInTeXFile
autocmd!
autocmd FileType tex setlocal wrap
autocmd FileType tex setlocal linebreak
autocmd FileType tex setlocal nonumber
augroup END