diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-05-08 13:57:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-08 13:57:24 +0800 |
commit | 057a5bc78d90db50caa85cdb34986fb186f0fd98 (patch) | |
tree | e5d770680e129e8ebdbb3faf1d0efaecd6950c98 /runtime/doc/map.txt | |
parent | 01f81ed89e58c64827306615a87779bdfea405bc (diff) | |
download | rneovim-057a5bc78d90db50caa85cdb34986fb186f0fd98.tar.gz rneovim-057a5bc78d90db50caa85cdb34986fb186f0fd98.tar.bz2 rneovim-057a5bc78d90db50caa85cdb34986fb186f0fd98.zip |
docs: add some missing changes from Vim runtime updates (#23533)
Diffstat (limited to 'runtime/doc/map.txt')
-rw-r--r-- | runtime/doc/map.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index 9ec592215e..37158e2e76 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -338,8 +338,8 @@ Example of using <Cmd> halfway Insert mode: > nnoremap <F3> aText <Cmd>echo mode(1)<CR> Added<Esc> Unlike <expr> mappings, there are no special restrictions on the <Cmd> -command: it is executed as if an (unrestricted) |autocmd| was invoked -or an async event event was processed. +command: it is executed as if an (unrestricted) |autocommand| was invoked +or an async event was processed. Note: - Because <Cmd> avoids mode-changes (unlike ":") it does not trigger @@ -638,6 +638,7 @@ not to be matched with any key sequence. This is useful in plugins *<MouseMove>* The special key name "<MouseMove>" can be used to handle mouse movement. It needs to be enabled with 'mousemoveevent'. +The |getmousepos()| function can be used to obtain the mouse position. *<Char>* *<Char->* To map a character by its decimal, octal or hexadecimal number the <Char> |