diff options
Diffstat (limited to 'src/normal.cc')
| -rw-r--r-- | src/normal.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/normal.cc b/src/normal.cc index a3e24f50..3286d3c3 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -49,11 +49,8 @@ void goto_commands(Context& context) int count = context.numeric_param(); if (count != 0) { - BufferIterator target = - context.editor().buffer().iterator_at_line_begin(count-1); - context.push_jump(); - context.editor().select(target); + context.editor().select(BufferCoord{count - 1, 0}); if (context.has_window()) context.window().center_selection(); } |
