Group vim and neovim config files in folder “vim”
This commit is contained in:
parent
b8db145787
commit
d73f12605f
3 changed files with 16 additions and 19 deletions
14
vim/filetype.vim
Normal file
14
vim/filetype.vim
Normal 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
|
||||
Loading…
Reference in a new issue