diff --git a/internal/action/actions.go b/internal/action/actions.go index c8e7793bd..ac516f2c9 100644 --- a/internal/action/actions.go +++ b/internal/action/actions.go @@ -202,8 +202,15 @@ func (h *BufPane) CursorUp() bool { // CursorDown moves the cursor down func (h *BufPane) CursorDown() bool { - h.Cursor.Deselect(true) - h.MoveCursorDown(1) + if h.Cursor.HasSelection() { + h.Cursor.Loc = h.Cursor.CurSelection[1] + h.Cursor.ResetSelection() + h.Cursor.StoreVisualX() + + // h.Cursor.Deselect(true) + } else { + h.MoveCursorDown(1) + } h.Relocate() return true }