ge goto end, last character of buffer

This commit is contained in:
Maxime Coste 2013-04-09 19:32:44 +02:00
parent 7f535988f0
commit 240e0321e8

View File

@ -87,6 +87,12 @@ void do_go(Context& context)
editor.select(buf.iterator_at_line_begin(buf.line_count() - 1), mode); editor.select(buf.iterator_at_line_begin(buf.line_count() - 1), mode);
break; break;
} }
case 'e':
{
context.push_jump();
editor.select(editor.buffer().end()-1, mode);
break;
}
case 'a': case 'a':
{ {
auto& buffer_manager = BufferManager::instance(); auto& buffer_manager = BufferManager::instance();