summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-08-06 22:03:46 +0200
committertv <tv@krebsco.de>2017-08-06 22:08:09 +0200
commitd730d48184905952a3205c67854f9b80eb18bdfe (patch)
tree89bb008ebb80af591134281e8245c3a85094096d
parent3aec3e6aa10c5e98950db9c0a64b0b5003cad4ac (diff)
dmap: always reset count
-rw-r--r--src/Main.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 61db22f..b7a5ebf 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -442,8 +442,8 @@ charToCode c = "\\x" ++ showIntAtBase 16 intToDigit (ord c) ""
dmap :: Keymap
dmap =
- [ ("\ESC", ChangeMode NormalMode)
- , ("d", DeleteEntireLine <> ChangeMode NormalMode)
+ [ ("\ESC", ChangeMode NormalMode <> SetCount Nothing)
+ , ("d", DeleteEntireLine <> ChangeMode NormalMode <> SetCount Nothing)
]