Force newline after n characters
This commit is contained in:
parent
6f06cf91d5
commit
dba7f779be
1 changed files with 6 additions and 0 deletions
|
@ -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, let’s make it 72 characters
|
||||
autocmd FileType gitcommit set textwidth=72
|
||||
autocmd FileType gitcommit set colorcolumn=73
|
||||
|
||||
"------------------------------------------------------------
|
||||
" Mappings {{{1
|
||||
|
|
Loading…
Add table
Reference in a new issue