Define default command 'G' to go to last line
This commit is contained in:
parent
ac316193fb
commit
fc0ea6a2ad
@ -33,6 +33,7 @@ void DefaultCommandMap::build()
|
|||||||
dcm->add("f", Command::GO_FORWARD_ON_TO_CHAR, nullptr, true);
|
dcm->add("f", Command::GO_FORWARD_ON_TO_CHAR, nullptr, true);
|
||||||
dcm->add("F", Command::GO_BACK_ON_TO_CHAR, nullptr, true);
|
dcm->add("F", Command::GO_BACK_ON_TO_CHAR, nullptr, true);
|
||||||
dcm->add("gg", Command::GO_TO_LINE, nullptr, false);
|
dcm->add("gg", Command::GO_TO_LINE, nullptr, false);
|
||||||
|
dcm->add("G", Command::GO_TO_LAST_LINE, nullptr, false);
|
||||||
dcm->add("h", Command::GO_LEFT, nullptr, false);
|
dcm->add("h", Command::GO_LEFT, nullptr, false);
|
||||||
dcm->add("j", Command::GO_DOWN, nullptr, false);
|
dcm->add("j", Command::GO_DOWN, nullptr, false);
|
||||||
dcm->add("k", Command::GO_UP, nullptr, false);
|
dcm->add("k", Command::GO_UP, nullptr, false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user