From 61293e8d6023fda9063bff47b13ccad05ad4aa53 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 9 Apr 2013 14:23:26 +0200 Subject: [PATCH] use gk and gj for goto first/last line instead of gt and gb --- src/main.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main.cc b/src/main.cc index 4edfa102..a3d5b1cc 100644 --- a/src/main.cc +++ b/src/main.cc @@ -69,8 +69,7 @@ void do_go(Context& context) Editor& editor = context.editor(); switch (tolower(key.key)) { - case 'g': - case 't': + case 'k': context.push_jump(); editor.select(editor.buffer().begin(), mode); break; @@ -80,7 +79,7 @@ void do_go(Context& context) case 'h': editor.select(select_to_eol_reverse, mode); break; - case 'b': + case 'j': { context.push_jump(); const Buffer& buf = editor.buffer();