aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc13
1 files changed, 13 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 0e9ce19..fafc283 100644
--- a/vimrc
+++ b/vimrc
@@ -98,6 +98,10 @@
" * Change status bar colour from white to green when switching into and
" out of insert mode
"
+" 2014.05.02:
+" * Add augroup for filetype indentation settings
+" * Set gitcommit files to use 2-space indentation
+"
" Pathogen
@@ -397,6 +401,15 @@ augroup filetype_syntax_highlighting
augroup END
+" Indentation rules by file type
+augroup filetype_indentation
+ autocmd!
+
+ " git commit messages
+ autocmd FileType gitcommit setlocal expandtab tabstop=2 softtabstop=2 shiftwidth=2
+augroup END
+
+
" Project Settings
" ================