Add default mapping for home/end keys
This commit is contained in:
parent
bf6c94ff4e
commit
0617229567
@ -54,6 +54,8 @@ void DefaultCommandMap::build()
|
|||||||
dcm->add("n", Command::NEXT, nullptr, false);
|
dcm->add("n", Command::NEXT, nullptr, false);
|
||||||
dcm->add("N", Command::PREV, nullptr, false);
|
dcm->add("N", Command::PREV, nullptr, false);
|
||||||
|
|
||||||
|
dcm->add({JES_KEY_HOME}, Command::GO_START_OF_LINE, nullptr, false);
|
||||||
|
dcm->add({JES_KEY_END}, Command::GO_END_OF_LINE, nullptr, false);
|
||||||
dcm->add({JES_KEY_PAGE_UP}, Command::SCROLL_WINDOW_UP_WHOLE_SCREEN, nullptr, false);
|
dcm->add({JES_KEY_PAGE_UP}, Command::SCROLL_WINDOW_UP_WHOLE_SCREEN, nullptr, false);
|
||||||
dcm->add({JES_KEY_PAGE_DOWN}, Command::SCROLL_WINDOW_DOWN_WHOLE_SCREEN, nullptr, false);
|
dcm->add({JES_KEY_PAGE_DOWN}, Command::SCROLL_WINDOW_DOWN_WHOLE_SCREEN, nullptr, false);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user