From 5bf567d75eb7446ffe5570bf13ad1422a5970f17 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Sun, 21 Sep 2008 12:55:08 +1200 Subject: [PATCH] update the mapping section of the doc --- doc/NERD_commenter.txt | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/doc/NERD_commenter.txt b/doc/NERD_commenter.txt index 28d3c2f..90aac82 100644 --- a/doc/NERD_commenter.txt +++ b/doc/NERD_commenter.txt @@ -750,16 +750,13 @@ See |NERDComAltDelim| for switching commenting styles at runtime. To change a mapping just map another key combo to the internal mapping. For example, to remap the *NERDComComment* mapping to ",omg" you would put -these lines in your vimrc: > - nmap ,omg NERDCommenterComment - vmap ,omg NERDCommenterComment +this line in your vimrc: > + map ,omg NERDCommenterComment < -This will stop the corresponding default mappings from being created. Note: in -this case if you only override the nmap, then the default vmap will still be -created. +This will stop the corresponding default mappings from being created. See the help for the mapping in question to see which mapping to -map to, and which modes it applies to. +map to. See also |'NERDCreateDefaultMappings'|.