summaryrefslogtreecommitdiffstats
path: root/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Main.hs')
-rw-r--r--Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Main.hs b/Main.hs
index 101ec89..2dccd90 100644
--- a/Main.hs
+++ b/Main.hs
@@ -361,7 +361,7 @@ nmap =
, ("l", MotionCommand $ GotoRight 1)
, ("b", MotionCommand $ WordsBackward 1)
, ("w", MotionCommand $ WordsForward 1)
- , ("\x0a", ExecuteInputBuffer)
+ , ("\x0a", ExecuteInputBuffer <> ChangeMode InsertMode)
]
++ [unboundSequence "\x1b" "<Escape>"]