From: Simon Ruderich Date: Tue, 17 Feb 2009 10:43:08 +0000 (+0100) Subject: Create new section PLUGIN SETTINGS. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=693677286e62bc6bd622d48905766ef63da5acd7;hp=bb9334c564f0df7820a078671a988d35b900c278;p=config%2Fdotfiles.git Create new section PLUGIN SETTINGS. Move plugin settings there. --- diff --git a/vimrc b/vimrc index 8e64ca0..656c6f6 100644 --- a/vimrc +++ b/vimrc @@ -102,18 +102,12 @@ if v:version >= 700 endif -" MAPPINGS +" MAPPINGS (except for plugins, see PLUGIN SETTINGS below) " Use "," as my mapleader. let mapleader = "," let maplocalleader = "," -" Settings for the NERD commenter. -" Don't create any mappings I don't want to use. -let NERDCreateDefaultMappings=0 -" Map toggle comment. -map NERDCommenterToggle - " Maps to change spell language between English and German. map se :set spelllang=en_us map sd :set spelllang=de_de @@ -150,6 +144,15 @@ endif syntax enable +" PLUGIN SETTINGS + +" Settings for the NERD commenter. +" Don't create any mappings I don't want to use. +let NERDCreateDefaultMappings=0 +" Map toggle comment. +map NERDCommenterToggle + + " Automatically save and the load the file state (stored in ~/.vim/view). autocmd BufWrite * mkview autocmd BufRead * loadview