Simple options for working with plain-text documents

This commit is contained in:
Anthony Rose 2022-08-12 15:54:40 +01:00
parent a86d672f8e
commit b2a6e39bff

1
vimrc
View file

@ -137,6 +137,7 @@ if has('autocmd')
autocmd BufRead,BufNewFile *.md set et ft=markdown sw=2 autocmd BufRead,BufNewFile *.md set et ft=markdown sw=2
autocmd BufRead,BufNewFile *.opml set et sw=2 autocmd BufRead,BufNewFile *.opml set et sw=2
autocmd BufRead,BufNewFile *.rs set et sw=4 autocmd BufRead,BufNewFile *.rs set et sw=4
autocmd BufRead,BufNewFile *.txt set et nojs sw=3 tw=72
autocmd BufRead,BufNewFile *.xml set et sw=2 autocmd BufRead,BufNewFile *.xml set et sw=2
autocmd BufRead,BufNewFile *.yaml set et sw=2 autocmd BufRead,BufNewFile *.yaml set et sw=2
autocmd BufRead,BufNewFile *.yml set et sw=2 autocmd BufRead,BufNewFile *.yml set et sw=2