From d730d48184905952a3205c67854f9b80eb18bdfe Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 6 Aug 2017 22:03:46 +0200 Subject: dmap: always reset count --- src/Main.hs | 4 ++-- 1 file 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) ] -- cgit v1.2.3