summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2014-07-28 00:25:12 +0200
committertv <tv@shackspace.de>2014-07-28 00:25:12 +0200
commit3c755e1c36139e5e8c64f8dd2b2bf9a93f1b9f05 (patch)
tree4baf8ebc1b4f63633f9ee79ee7aed49fab68c537
parent196532977cf0ffd17538c1968bd097b4008bea6d (diff)
InsertMode <Return> changes to NormalMode
-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>"]