gg is back to goto top

This commit is contained in:
Maxime Coste 2013-04-09 19:32:26 +02:00
parent 829876a6fa
commit 7f535988f0

View File

@ -69,6 +69,7 @@ void do_go(Context& context)
Editor& editor = context.editor(); Editor& editor = context.editor();
switch (tolower(key.key)) switch (tolower(key.key))
{ {
case 'g':
case 'k': case 'k':
context.push_jump(); context.push_jump();
editor.select(editor.buffer().begin(), mode); editor.select(editor.buffer().begin(), mode);