Add default mapping for home/end keys
This commit is contained in:
1 parent
bf6c94ff4e
commit
0617229567
1 file changed
+2
@@ -54,6 +54,8 @@ void DefaultCommandMap::build()
|
||||
dcm->add("n", Command::NEXT, 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_DOWN}, Command::SCROLL_WINDOW_DOWN_WHOLE_SCREEN, nullptr, false);
|
||||
}
|
||||
Reference in new issue
Block a user