File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,10 @@ module ``Miscellaneous tests`` =
76
76
let ``< C -[> escapes`` () =
77
77
assertText " abc$" " i<C-[>" " ab$c"
78
78
79
+ [<Test>]
80
+ let ``Return to normal mode doesn 't move past start of line`` () =
81
+ assertText " abc\n d$ef" " i<esc>" " abc\n d$ef"
82
+
79
83
[<Test>]
80
84
let ``dot repeats at start of line`` () =
81
85
assertText
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ open System.Runtime.CompilerServices
5
5
[<AutoOpen>]
6
6
module AddinVersion =
7
7
[<Literal>]
8
- let version = " 0.60.5 "
8
+ let version = " 0.60.6 "
9
9
10
10
[<assembly: AssemblyTitle( " XSVim" ) >]
11
11
// The assembly version has the format {Major}.{Minor}.{Build}.{Revision}
Original file line number Diff line number Diff line change @@ -741,7 +741,7 @@ module Vim =
741
741
// https://github.com/mono/monodevelop/blob/fdbfbe89529bd9076e1906e7b70fdb51a9ae6b99/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Editor.Extension/CompletionTextEditorExtension.cs#L153
742
742
if editor.SelectionMode = SelectionMode.Normal then EditActions.ToggleBlockSelectionMode editor
743
743
vimState.undoGroup |> Option.iter( fun d -> d.Dispose())
744
- if vimState.mode = InsertMode then
744
+ if vimState.mode = InsertMode && editor.CaretColumn > 1 then
745
745
EditActions.MoveCaretLeft editor
746
746
{ vimState with mode = NormalMode; lastSelection = lastSelection; undoGroup = None; statusMessage = None }
747
747
You can’t perform that action at this time.
0 commit comments