From 731a9a5ce7d3a559cf0bd1462669800f79c09665 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Ob=C5=AFrka?= Date: Thu, 29 May 2014 16:01:42 +0200 Subject: Add autocommand section. Do spell check in git COMMIT_EDITMSG files. --- .vimrc | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.vimrc') 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 " =========== -- cgit v1.2.3