]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
Added map settings for NERD commenter.
authorSimon Ruderich <simon@ruderich.org>
Fri, 17 Oct 2008 16:11:30 +0000 (18:11 +0200)
committerSimon Ruderich <simon@ruderich.org>
Fri, 17 Oct 2008 16:11:30 +0000 (18:11 +0200)
vimrc

diff --git a/vimrc b/vimrc
index b3a506dd7566768cb61f5eaa178696b503983af3..aa8753b449dd7bada4cfe34a5879f9987e9d8cc0 100644 (file)
--- 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 <Leader><Leader> <plug>NERDCommenterToggle
+
 " I often type "W" instead of "w" when trying to save a file. Fix my mistake.
 cmap W w
 cmap Wq wq