commit 2d1ca1585a5250d54a4d53fadb951791e557fd78
parent be7057df90eae64f723927caba84925f7c30b027
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/vimrc b/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