1
0
Fork 0

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).
org
Mike Gerwitz 2014-01-04 06:07:27 -05:00
parent c816115bd7
commit 3541a991ce
No known key found for this signature in database
GPG Key ID: F22BB8158EE30EAB
1 changed files with 1 additions and 1 deletions

2
vimrc
View File

@ -46,7 +46,7 @@ set sw=4
set t_Co=256 set t_Co=256
set title set title
set ts=4 set ts=4
set tw=80 set tw=76
set undolevels=3000 set undolevels=3000
set updatecount=50 set updatecount=50
set visualbell set visualbell