From b2a6e39bff6aec149c534ae7ffe34abfada9294b Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Fri, 12 Aug 2022 15:54:40 +0100 Subject: [PATCH] Simple options for working with plain-text documents --- vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/vimrc b/vimrc index c203a01..8073f56 100644 --- a/vimrc +++ b/vimrc @@ -137,6 +137,7 @@ if has('autocmd') autocmd BufRead,BufNewFile *.md set et ft=markdown sw=2 autocmd BufRead,BufNewFile *.opml set et sw=2 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 *.yaml set et sw=2 autocmd BufRead,BufNewFile *.yml set et sw=2