Merge remote-tracking branch 'Delapouite/docs-scroll'
This commit is contained in:
commit
ca17fbbeb9
|
@ -369,8 +369,10 @@ Movement
|
||||||
* `<a-n>`: select previous match
|
* `<a-n>`: select previous match
|
||||||
* `<a-N>`: add a new selection with previous match
|
* `<a-N>`: add a new selection with previous match
|
||||||
|
|
||||||
* `pageup`: scroll up
|
* `pageup, <c-b>`: scroll one page up
|
||||||
* `pagedown`: scroll down
|
* `pagedown, <c-f>`: scroll one page down
|
||||||
|
* `<c-u>`: scroll half a page up
|
||||||
|
* `<c-d>`: scroll half a page down
|
||||||
|
|
||||||
* `'`: rotate selections (the main selection becomes the next one)
|
* `'`: rotate selections (the main selection becomes the next one)
|
||||||
* `<a-'>`: rotate selections backwards
|
* `<a-'>`: rotate selections backwards
|
||||||
|
|
|
@ -179,11 +179,17 @@ is a sequence of non whitespace characters
|
||||||
*<a-N>*::
|
*<a-N>*::
|
||||||
add a new selection with previous match
|
add a new selection with previous match
|
||||||
|
|
||||||
*pageup*::
|
*pageup, <c-b>*::
|
||||||
scroll up
|
scroll one page up
|
||||||
|
|
||||||
*pagedown*::
|
*pagedown, <c-f>*::
|
||||||
scroll down
|
scroll one page down
|
||||||
|
|
||||||
|
*<c-u>*::
|
||||||
|
scroll half a page up
|
||||||
|
|
||||||
|
*<c-d>*::
|
||||||
|
scroll half a page down
|
||||||
|
|
||||||
*'*::
|
*'*::
|
||||||
rotate selections (the main selection becomes the next one)
|
rotate selections (the main selection becomes the next one)
|
||||||
|
|
|
@ -1989,9 +1989,6 @@ const HashMap<Key, NormalCmd> keymap{
|
||||||
{ {'v'}, {"move view", view_commands<false>} },
|
{ {'v'}, {"move view", view_commands<false>} },
|
||||||
{ {'V'}, {"move view (locked)", view_commands<true>} },
|
{ {'V'}, {"move view (locked)", view_commands<true>} },
|
||||||
|
|
||||||
{ {Key::PageUp}, { "scroll one page up", scroll<Backward>} },
|
|
||||||
{ {Key::PageDown}, {"scroll one page down", scroll<Forward>} },
|
|
||||||
|
|
||||||
{ {'y'}, {"yank selected text", yank} },
|
{ {'y'}, {"yank selected text", yank} },
|
||||||
{ {'p'}, {"paste after selected text", repeated<paste<InsertMode::Append>>} },
|
{ {'p'}, {"paste after selected text", repeated<paste<InsertMode::Append>>} },
|
||||||
{ {'P'}, {"paste before selected text", repeated<paste<InsertMode::Insert>>} },
|
{ {'P'}, {"paste before selected text", repeated<paste<InsertMode::Insert>>} },
|
||||||
|
@ -2118,6 +2115,9 @@ const HashMap<Key, NormalCmd> keymap{
|
||||||
|
|
||||||
{ {','}, {"user mappings", exec_user_mappings} },
|
{ {','}, {"user mappings", exec_user_mappings} },
|
||||||
|
|
||||||
|
{ {Key::PageUp}, { "scroll one page up", scroll<Backward>} },
|
||||||
|
{ {Key::PageDown}, {"scroll one page down", scroll<Forward>} },
|
||||||
|
|
||||||
{ {ctrl('b')}, {"scroll one page up", scroll<Backward >} },
|
{ {ctrl('b')}, {"scroll one page up", scroll<Backward >} },
|
||||||
{ {ctrl('f')}, {"scroll one page down", scroll<Forward>} },
|
{ {ctrl('f')}, {"scroll one page down", scroll<Forward>} },
|
||||||
{ {ctrl('u')}, {"scroll half a page up", scroll<Backward, true>} },
|
{ {ctrl('u')}, {"scroll half a page up", scroll<Backward, true>} },
|
||||||
|
|
Loading…
Reference in New Issue
Block a user