Force newline after n characters

This commit is contained in:
Jonny Barnes 2017-03-18 14:35:03 +00:00
parent 6f06cf91d5
commit dba7f779be

View file

@ -142,6 +142,12 @@ set expandtab
"set shiftwidth=2
"set tabstop=2
" Force the cursor onto a new line after 80 characters
set textwidth=80
set colorcolumn=81
" However, in Git commit messages, lets make it 72 characters
autocmd FileType gitcommit set textwidth=72
autocmd FileType gitcommit set colorcolumn=73
"------------------------------------------------------------
" Mappings {{{1