From 472c9d93701f9993e6451c3c29d26266581fb275 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Fri, 23 May 2014 20:18:39 -0400 Subject: vimrc: move gitcommit settings to ftplugin Move gitcommit indentation settings from vimrc to an ftplugin file. Keeps things more organised and makes for a cleaner vimrc. --- ftplugin/gitcommit.vim | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 ftplugin/gitcommit.vim (limited to 'ftplugin/gitcommit.vim') diff --git a/ftplugin/gitcommit.vim b/ftplugin/gitcommit.vim new file mode 100644 index 0000000..fdffb20 --- /dev/null +++ b/ftplugin/gitcommit.vim @@ -0,0 +1,6 @@ +" Git commit message settings + +setlocal expandtab +setlocal tabstop=2 +setlocal softtabstop=2 +setlocal shiftwidth=2 -- cgit v1.2.3