Add 80 column limit and force COMMIT_EDITMSG as gitcomit filetype

main
Buddy Sandidge 12 years ago
parent dd441bc82e
commit 52a5db38ac

@ -17,6 +17,7 @@ set history=1000
set clipboard+=unnamed " turns out I do like is sharing windows clipboard set clipboard+=unnamed " turns out I do like is sharing windows clipboard
set autoread " Set to auto read when a file is changed from the outside set autoread " Set to auto read when a file is changed from the outside
set autochdir " Change current directory to be directory of current file set autochdir " Change current directory to be directory of current file
set colorcolumn=80
set backspace=start,eol,indent set backspace=start,eol,indent
set whichwrap+=<,>,[,] set whichwrap+=<,>,[,]
@ -159,3 +160,7 @@ augroup coffee
au! BufRead,BufNewFile *.coffee set filetype=coffee au! BufRead,BufNewFile *.coffee set filetype=coffee
augroup END augroup END
augroup COMMIT_EDITMSG
au! BufRead,BufNewFile COMMIT_EDITMSG set filetype=gitcommit
augroup END

Loading…
Cancel
Save