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:
parent
7062022187
commit
7e3c8db3e6
|
@ -1521,9 +1521,10 @@ You can redefine a key's meaning using the map command:
|
||||||
:map <scope> <mode> <key> <keys>
|
:map <scope> <mode> <key> <keys>
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
`scope` can be one of `global`, `buffer` or `window` (or any prefix),
|
`scope` can be one of `global`, `buffer` or `window` (or any prefix);
|
||||||
mode one of `insert`, `normal`, `prompt`, `menu` or `user` (or any prefix),
|
mode one of `normal`, `insert`, `menu`, `prompt`, `goto`, `view`,
|
||||||
`key` a single key name and `keys` a list of keys.
|
`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
|
`user` mode allows for user mapping behind the `,` key. Keys will be
|
||||||
executed in normal mode.
|
executed in normal mode.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user