Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

docs

  • Loading branch information...
commit 8e01d1f9bcbfbe9687866fc98e3c642f331f0910 1 parent d586c62
@tomtom authored
Showing with 9 additions and 1 deletion.
  1. +5 −1 autoload/tcomment.vim
  2. +4 −0 doc/tcomment.txt
View
6 autoload/tcomment.vim
@@ -4,7 +4,7 @@
" @License: GPL (see http://www.gnu.org/licenses/gpl.txt)
" @Created: 2007-09-17.
" @Last Change: 2012-09-22.
-" @Revision: 0.0.575
+" @Revision: 0.0.577
" call tlog#Log('Load: '. expand('<sfile>')) " vimtlib-sfile
@@ -17,6 +17,10 @@ if !exists("g:tcommentModeExtra")
" Modifies how commenting works.
" > ... Move the cursor to the end of the comment
" >> ... Like above but move the cursor to the next line
+ " # ... Move the cursor to the position of the commented text
+ " (NOTE: this only works when creating empty comments using
+ " |:TCommentInline| from normal or insert mode and should
+ " not be set here as a global option.)
let g:tcommentModeExtra = '' "{{{2
endif
View
4 doc/tcomment.txt
@@ -231,6 +231,10 @@ g:tcommentModeExtra (default: '')
Modifies how commenting works.
> ... Move the cursor to the end of the comment
>> ... Like above but move the cursor to the next line
+ # ... Move the cursor to the position of the commented text
+ (NOTE: this only works when creating empty comments using
+ |:TCommentInline| from normal or insert mode and should
+ not be set here as a global option.)
*g:tcommentOpModeExtra*
g:tcommentOpModeExtra (default: '')
Please sign in to comment.
Something went wrong with that request. Please try again.