summaryrefslogtreecommitdiff
path: root/src/normal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/normal.cc')
-rw-r--r--src/normal.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/normal.cc b/src/normal.cc
index 5a631e76..85597432 100644
--- a/src/normal.cc
+++ b/src/normal.cc
@@ -280,8 +280,6 @@ void goto_commands(Context& context, NormalParams params)
auto pos = buffer.last_modification_coord();
if (pos >= buffer.back_coord())
pos = buffer.back_coord();
- else if (buffer[pos.line].length() == pos.column + 1)
- pos = BufferCoord{ pos.line+1, 0 };
select_coord<mode>(buffer, pos, context.selections());
break;
}