From: Simon Ruderich Date: Fri, 17 Oct 2008 16:11:30 +0000 (+0200) Subject: Added map settings for NERD commenter. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=1512ec164b355c1276dfb3a23061ce3570cd9dfb;p=config%2Fdotfiles.git Added map settings for NERD commenter. --- diff --git a/vimrc b/vimrc index b3a506d..aa8753b 100644 --- a/vimrc +++ b/vimrc @@ -68,6 +68,12 @@ set background=dark 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 + " I often type "W" instead of "w" when trying to save a file. Fix my mistake. cmap W w cmap Wq wq