Correspond README with information box for map command's mode argument

goto, view, and object modes appear as modes in the information box, so
add these to the README.

This commit also list all modes in the same order as given in the
information box.

Related to #1657
This commit is contained in:
nuao 2017-10-29 11:56:33 +00:00
parent 7062022187
commit 7e3c8db3e6

View File

@ -1521,9 +1521,10 @@ You can redefine a key's meaning using the map command:
:map <scope> <mode> <key> <keys>
--------------------------------
`scope` can be one of `global`, `buffer` or `window` (or any prefix),
mode one of `insert`, `normal`, `prompt`, `menu` or `user` (or any prefix),
`key` a single key name and `keys` a list of keys.
`scope` can be one of `global`, `buffer` or `window` (or any prefix);
mode one of `normal`, `insert`, `menu`, `prompt`, `goto`, `view`,
`user` or `object` (or any prefix); `key` a single key name and `keys`
a list of keys.
`user` mode allows for user mapping behind the `,` key. Keys will be
executed in normal mode.