From 3541a991ce0d94361f7a3c394dae16bff3667841 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Sat, 4 Jan 2014 06:07:27 -0500 Subject: [PATCH] Set default text width in vim to 76 characters And here come the rationale for this sensitive topic: - Source code should wrap at 80 characters; be polite and give room for line numbering. Four characters is room for up to 999 lines, followed by a space; if the file exceeds that length, it is probably difficult to work with, because it's hard to keep that much in working memory. - Allows for up to three levels of nesting for e-mail quoting (">>> "). I really hope more than that is not needed. If it is, modern editors can easily reflow text (e.g. `gq' in vim). --- vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 60509bc..6b3598a 100644 --- a/vimrc +++ b/vimrc @@ -46,7 +46,7 @@ set sw=4 set t_Co=256 set title set ts=4 -set tw=80 +set tw=76 set undolevels=3000 set updatecount=50 set visualbell