diff options
author | Justin Gassner <justin.gassner@web.de> | 2016-01-08 23:05:34 +0100 |
---|---|---|
committer | Justin Gassner <justin.gassner@web.de> | 2016-01-08 23:14:47 +0100 |
commit | 4bc3bcab22561bb7f78a948a3de5c0d2c25f01ad (patch) | |
tree | 803f176c9a8d6d11a5d0a0ad53348202b34ec749 /runtime/doc | |
parent | d51a27b7e58c9cdbc1bf10958254fe666603f3f2 (diff) | |
download | rneovim-4bc3bcab22561bb7f78a948a3de5c0d2c25f01ad.tar.gz rneovim-4bc3bcab22561bb7f78a948a3de5c0d2c25f01ad.tar.bz2 rneovim-4bc3bcab22561bb7f78a948a3de5c0d2c25f01ad.zip |
vim-patch:e3faf44
Updated runtime files.
https://github.com/vim/vim/commit/e3faf44bef029d07f37a457bd0050653b628058f
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/eval.txt | 8 | ||||
-rw-r--r-- | runtime/doc/map.txt | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 45095d45a9..89b4825f5b 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -2415,6 +2415,10 @@ col({expr}) The result is a Number, which is the byte index of the column 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 @@ -6695,6 +6699,10 @@ virtcol({expr}) *virtcol()* 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 diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index ab49b6f889..464c700a4d 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -1,4 +1,4 @@ -*map.txt* For Vim version 7.4. Last change: 2014 Oct 03 +*map.txt* For Vim version 7.4. Last change: 2014 Dec 08 VIM REFERENCE MANUAL by Bram Moolenaar |