diff --git a/internal/action/command.go b/internal/action/command.go index 59e89e49c2..f88660daac 100644 --- a/internal/action/command.go +++ b/internal/action/command.go @@ -761,6 +761,7 @@ func (h *BufPane) GotoCmd(args []string) { col = util.Clamp(col-1, 0, util.CharacterCount(h.Buf.LineBytes(line))) h.RemoveAllMultiCursors() + h.Cursor.Deselect(true) h.GotoLoc(buffer.Loc{col, line}) } @@ -779,6 +780,7 @@ func (h *BufPane) JumpCmd(args []string) { col = util.Clamp(col-1, 0, util.CharacterCount(h.Buf.LineBytes(line))) h.RemoveAllMultiCursors() + h.Cursor.Deselect(true) h.GotoLoc(buffer.Loc{col, line}) }