Define default command 'G' to go to last line

This commit is contained in:
Josh Holtrop 2017-11-05 09:42:53 -05:00
parent ac316193fb
commit fc0ea6a2ad

View File

@ -33,6 +33,7 @@ void DefaultCommandMap::build()
dcm->add("f", Command::GO_FORWARD_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("G", Command::GO_TO_LAST_LINE, nullptr, false);
dcm->add("h", Command::GO_LEFT, nullptr, false);
dcm->add("j", Command::GO_DOWN, nullptr, false);
dcm->add("k", Command::GO_UP, nullptr, false);