Add spellcheck to git commit messages

This commit is contained in:
Jonny Barnes 2017-07-03 17:32:01 +01:00
parent b66e74a53d
commit 542cda73e6

View file

@ -193,6 +193,10 @@ nnoremap <Down> :echomsg "use j"<cr>
nnoremap <Left> :echomsg "use j"<cr> nnoremap <Left> :echomsg "use j"<cr>
nnoremap <Right> :echomsg "use l"<cr> nnoremap <Right> :echomsg "use l"<cr>
" And spell-checking
autocmd FileType gitcommit setlocal spell
set complete+=kspell
" Keymap to open NERDtree " Keymap to open NERDtree
map <C-n> :NERDTreeToggle<cr> map <C-n> :NERDTreeToggle<cr>
" Autoclose when NERDtree is the last buffer " Autoclose when NERDtree is the last buffer