use gk and gj for goto first/last line instead of gt and gb
This commit is contained in:
parent
43b5bd5260
commit
61293e8d60
|
@ -69,8 +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 't':
|
|
||||||
context.push_jump();
|
context.push_jump();
|
||||||
editor.select(editor.buffer().begin(), mode);
|
editor.select(editor.buffer().begin(), mode);
|
||||||
break;
|
break;
|
||||||
|
@ -80,7 +79,7 @@ void do_go(Context& context)
|
||||||
case 'h':
|
case 'h':
|
||||||
editor.select(select_to_eol_reverse, mode);
|
editor.select(select_to_eol_reverse, mode);
|
||||||
break;
|
break;
|
||||||
case 'b':
|
case 'j':
|
||||||
{
|
{
|
||||||
context.push_jump();
|
context.push_jump();
|
||||||
const Buffer& buf = editor.buffer();
|
const Buffer& buf = editor.buffer();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user