From 5d00522d4e0c37feea44f0149ec1d642a4d1e025 Mon Sep 17 00:00:00 2001 From: Zachary Yedidia Date: Mon, 5 Sep 2016 08:25:49 -0400 Subject: [PATCH] Deselect for CursorStart Fixes #308 --- cmd/micro/actions.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/micro/actions.go b/cmd/micro/actions.go index 590719f5..8e12ee33 100644 --- a/cmd/micro/actions.go +++ b/cmd/micro/actions.go @@ -361,6 +361,8 @@ func (v *View) CursorStart(usePlugin bool) bool { return false } + v.deselect(0) + v.Cursor.X = 0 v.Cursor.Y = 0