From dad93fef8bb1a02b8c9a5f91c9d12574bab4ff7a Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 15 Oct 2010 20:37:34 +0200 Subject: vim_mode: Clear count when an unknown mapping is encountered. --- vim-mode/vim_mode.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index 9a6e5bc..9be7ed9 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -2291,6 +2291,7 @@ sub handle_command_cmd { } else { print "No mapping found for $char" if DEBUG; $pending_map = undef; + $numeric_prefix = undef; return 1; # call _stop() } -- cgit v1.2.3