From 88b7702816c1e5ffc09a333d0ee63378979fb9a8 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Thu, 15 May 2014 11:49:35 -0400 Subject: vimrc: turn on filetype plugin & add python ftplugin * Ensure filetype plugin is on so that ftplugins get loaded * Add a filetype plugin for python with PEP8 indentation and cancel my custom mappings that preserve indentation on empty lines --- vimrc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 3da413e..3fd3274 100644 --- a/vimrc +++ b/vimrc @@ -127,6 +127,12 @@ " 2014.05.14: " * Add commentary.vim definition for the "htmldjango" filetype " +" 2014.05.15: +" * Turn on filetype plugin so that I can have filetype-specific +" settings in their own files instead of having them clutter my vimrc +" * Add a filetype plugin file for python, specifying PEP8 indentation +" and ensuring indentation is not preserved on blank lines. +" " Pathogen @@ -178,6 +184,9 @@ set backupdir=~/.vim/backup/backup// set directory=~/.vim/backup/swap// set undodir=~/.vim/backup/undo// +" Enable filetype-specific settings +filetype plugin on + set laststatus=2 " Always show the status line " Statusline -- cgit v1.2.3