diff --git a/internal/action/actions.go b/internal/action/actions.go index d45f5b2f..be197d74 100644 --- a/internal/action/actions.go +++ b/internal/action/actions.go @@ -211,7 +211,7 @@ func (h *BufPane) CursorLeft() bool { func (h *BufPane) CursorRight() bool { if h.Cursor.HasSelection() { h.Cursor.Deselect(false) - h.Cursor.Loc = h.Cursor.Loc.Move(1, h.Buf) + h.Cursor.Right() } else { tabstospaces := h.Buf.Settings["tabstospaces"].(bool) tabmovement := h.Buf.Settings["tabmovement"].(bool)