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. --- vimrc | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index be42bb7..5f66e1d 100644 --- a/vimrc +++ b/vimrc @@ -147,6 +147,7 @@ " http://vim.wikia.com/wiki/Default_filetype#Setting_a_default_filetype " and http://marc.info/?l=vim&m=100254210012793&w=2. Instead the " variable needed to be set directly. +" * Move gitcommit indentation settings from vimrc to ftplugin/gitcommit " @@ -482,15 +483,6 @@ command! CopyModeToggle call CopyModeToggle() " endif -" 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 " ================ -- cgit v1.2.3