Add 80 column limit and force COMMIT_EDITMSG as gitcomit filetype
This commit is contained in:
parent
dd441bc82e
commit
52a5db38ac
5
vimrc
5
vimrc
@ -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…
Reference in New Issue
Block a user