commit 89419ef710b7995f5983d3d5de2ba37a76c28d61
parent e1c272ab078ea4f1aaf1b5b548940e645b29511d
Author: Chris Bracken <chris@bracken.jp>
Date: Thu, 30 Apr 2020 17:42:29 -0700
Wrap .txt, .md files at column 72
This is the standard for plaintext email, and makes it easier to deal
with line numbers in vim.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/.vim/vimrc b/.vim/vimrc
@@ -154,6 +154,8 @@ if &t_Co > 2
" Highlight over-length lines
au BufEnter,InsertLeave * set colorcolumn=80
+ au BufEnter,InsertLeave *.txt,*.md set colorcolumn=72
+ au BufEnter,InsertLeave *.txt,*.md set textwidth=72
au BufEnter,InsertLeave *.java,*.m,*.mm set colorcolumn=100
au BufEnter,InsertLeave *.java,*.m,*.mm set textwidth=100