From 8c73eef0ea8161d87dc1871aa9054eb36a876dbb Mon Sep 17 00:00:00 2001 From: Jian Lan Date: Thu, 17 Oct 2013 02:52:26 -0600 Subject: [PATCH 1/2] Update NERD_commenter.txt Delete the excess the in "If the a selected line is commented then it is uncommented and vice versa. " --- doc/NERD_commenter.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/NERD_commenter.txt b/doc/NERD_commenter.txt index 151ea29..7e3f716 100644 --- a/doc/NERD_commenter.txt +++ b/doc/NERD_commenter.txt @@ -229,7 +229,7 @@ Default mapping: ||ci Mapped to: NERDCommenterInvert Applicable modes: normal visual-line. -Inverts the commented state of each selected line. If the a selected line is +Inverts the commented state of each selected line. If a selected line is commented then it is uncommented and vice versa. Each line is examined and commented/uncommented individually. From 785386db76ef8b97b73355180ba520be304e442d Mon Sep 17 00:00:00 2001 From: Jian Lan Date: Thu, 17 Oct 2013 03:22:44 -0600 Subject: [PATCH 2/2] Update NERD_commenter.txt Add one empty line between every two items. Add a period at the end of a sentence:(regardless of whether NERDSpaceDelims is set) --- doc/NERD_commenter.txt | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/doc/NERD_commenter.txt b/doc/NERD_commenter.txt index 7e3f716..b5d1198 100644 --- a/doc/NERD_commenter.txt +++ b/doc/NERD_commenter.txt @@ -399,38 +399,52 @@ then the script would do a sexy comment on the last visual selection. 4.1 Options summary *NERDComOptionsSummary* |'loaded_nerd_comments'| Turns off the script. + |'NERDAllowAnyVisualDelims'| Allows multipart alternative delims to be used when commenting in visual/visual-block mode. + |'NERDBlockComIgnoreEmpty'| Forces right delims to be placed when doing visual-block comments. + |'NERDCommentWholeLinesInVMode'| Changes behaviour of visual comments. + |'NERDCreateDefaultMappings'| Turn the default mappings on/off. + |'NERDCustomDelimiters'| Add or override delimiters for any filetypes. + |'NERDDefaultNesting'| Tells the script to use nested comments by default. + |'NERDMenuMode'| Specifies how the NERD commenter menu will appear (if at all). + |'NERDLPlace'| Specifies what to use as the left delimiter placeholder when nesting comments. + |'NERDUsePlaceHolders'| Specifies which filetypes may use placeholders when nesting comments. + |'NERDRemoveAltComs'| Tells the script whether to remove alternative comment delimiters when uncommenting. + |'NERDRemoveExtraSpaces'| Tells the script to always remove the extra spaces when uncommenting (regardless of whether NERDSpaceDelims - is set) + is set). + |'NERDRPlace'| Specifies what to use as the right delimiter placeholder when nesting comments. + |'NERDSpaceDelims'| Specifies whether to add extra spaces around delimiters when commenting, and whether to remove them when uncommenting. + |'NERDCompactSexyComs'| Specifies whether to use the compact style sexy comments.