Mercurial > vim
diff runtime/doc/eval.txt @ 14006:665fe1f419b0
Update runtime files.
commit https://github.com/vim/vim/commit/0b0f0992d46ef02fdfc1240744bef91d4299c1df
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue May 22 21:41:30 2018 +0200
Update runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 22 May 2018 21:45:06 +0200 |
parents | e124262d435e |
children | dc67449d648c |
line wrap: on
line diff
--- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -5822,7 +5822,8 @@ maparg({name} [, {mode} [, {abbr} [, {di listing. When there is no mapping for {name}, an empty String is - returned. + returned. When the mapping for {name} is empty, then "<Nop>" + is returned. The {name} can have special key names, like in the ":map" command. @@ -5889,9 +5890,10 @@ mapcheck({name} [, {mode} [, {abbr}]]) mapping that matches with {name}, while maparg() only finds a mapping for {name} exactly. When there is no mapping that starts with {name}, an empty - String is returned. If there is one, the rhs of that mapping + String is returned. If there is one, the RHS of that mapping is returned. If there are several mappings that start with - {name}, the rhs of one of them is returned. + {name}, the RHS of one of them is returned. This will be + "<Nop>" if the RHS is empty. The mappings local to the current buffer are checked first, then the global mappings. This function can be used to check if a mapping can be added