In :help col() and virtcol(), "v" is not listed in the accepted positions.

diff -r 946876e24d5d runtime/doc/eval.txt
--- a/runtime/doc/eval.txt    Sun Dec 07 00:18:33 2014 +0100
+++ b/runtime/doc/eval.txt    Sun Dec 07 15:28:19 2014 +0900
@@ -2395,6 +2395,10 @@
                 number of bytes in the cursor line plus one)
             'x        position of mark x (if the mark is not set, 0 is
                 returned)
+            v        In Visual mode: the start of the Visual area (the
+                cursor is the end).  When not in Visual mode
+                returns the cursor position.  Differs from |'<| in
+                that it's updated right away.
         Additionally {expr} can be [lnum, col]: a |List| with the line
         and column number. Most useful when the column is "$", to get
         the last column of a specific line.  When "lnum" or "col" is
@@ -6418,6 +6422,10 @@
                 plus one)
             'x        position of mark x (if the mark is not set, 0 is
                 returned)
+            v        In Visual mode: the start of the Visual area (the
+                cursor is the end).  When not in Visual mode
+                returns the cursor position.  Differs from |'<| in
+                that it's updated right away.
         Note that only marks in the current file can be used.
         Examples: >
   virtcol(".")       with text "foo^Lbar", with cursor on the "^L",
returns 5

-- 
Yukihiro Nakadaira - [email protected]

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui