summaryrefslogtreecommitdiffstats
path: root/src/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 11b246c..785147b 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -449,7 +449,8 @@ selectRegisterMap =
nmap :: Keymap
nmap =
- [ ("i", ChangeMode InsertMode)
+ [ ("\x1b", RingBell) -- TODO cancel any unfinished commands
+ , ("i", ChangeMode InsertMode)
, ("a", ChangeMode InsertMode <> MotionCommand (GotoRight 1))
, ("I", ChangeMode InsertMode <> MotionCommand GotoFirstChar)
, ("A", ChangeMode InsertMode <> MotionCommand GotoEndOfLine)
@@ -464,7 +465,6 @@ nmap =
, ("\x1b[C", MotionCommand $ GotoRight 1)
, ("\x1b[D", MotionCommand $ GotoLeft 1)
, ("\x0a", ExecuteInputBuffer <> ChangeMode InsertMode)
- , ("\x1b", RingBell) -- TODO cancel any unfinished commands
]
++ (map (\i -> (show i, MulCount 10 <> AddCount i)) [0..9])