From 9dd1df36d5198ad96e372e414434edc712c75d7d Mon Sep 17 00:00:00 2001 From: Yannick Armand Date: Thu, 3 Aug 2017 12:02:07 +0200 Subject: [PATCH] Move current line down/up: cursor stay with moved line --- cmd/micro/actions.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/micro/actions.go b/cmd/micro/actions.go index b95e425c..69068132 100644 --- a/cmd/micro/actions.go +++ b/cmd/micro/actions.go @@ -1165,7 +1165,6 @@ func (v *View) MoveLinesUp(usePlugin bool) bool { v.Cursor.Loc.Y, v.Cursor.Loc.Y+1, ) - v.Cursor.UpN(1) messenger.Message("Moved up current line") } v.Buf.IsModified = true @@ -1204,7 +1203,6 @@ func (v *View) MoveLinesDown(usePlugin bool) bool { v.Cursor.Loc.Y, v.Cursor.Loc.Y+1, ) - v.Cursor.DownN(1) messenger.Message("Moved down current line") } v.Buf.IsModified = true -- 2.44.0