From 240e0321e81c5919f98d4d812cf909e63a53b9d9 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 9 Apr 2013 19:32:44 +0200 Subject: [PATCH] ge goto end, last character of buffer --- src/main.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.cc b/src/main.cc index 086054f4..40f54c28 100644 --- a/src/main.cc +++ b/src/main.cc @@ -87,6 +87,12 @@ void do_go(Context& context) editor.select(buf.iterator_at_line_begin(buf.line_count() - 1), mode); break; } + case 'e': + { + context.push_jump(); + editor.select(editor.buffer().end()-1, mode); + break; + } case 'a': { auto& buffer_manager = BufferManager::instance();