summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorGravatar Robin Obůrka <r.oburka@gmail.com> 2014-05-29 16:01:42 +0200
committerGravatar Robin Obůrka <r.oburka@gmail.com> 2014-05-29 16:01:42 +0200
commit731a9a5ce7d3a559cf0bd1462669800f79c09665 (patch)
treed633869f1edd14328c7c553969e76a744608852b /.vimrc
parentUse leader instead of CTRL+something for some edit operations (diff)
downloadvim_sync-731a9a5ce7d3a559cf0bd1462669800f79c09665.tar.xz
Add autocommand section. Do spell check in git COMMIT_EDITMSG files.
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 47fd21c..13c7137 100644
--- a/.vimrc
+++ b/.vimrc
@@ -107,6 +107,11 @@ colorscheme evening
au BufEnter * match RedundantSpaces /\s\+$\| \+\ze\t/
highlight RedundantSpaces ctermbg=red guibg=red
+" =======================
+" autocommand definitions
+" =======================
+au BufRead *COMMIT_EDITMSG set spell spelllang=en
+
" ===========
" key hacking
" ===========