From e3ab711f6abe37947b61b72d4b49b0a784819b4a Mon Sep 17 00:00:00 2001 From: Ben Goldsmith Date: Mon, 2 Apr 2012 17:08:03 -0700 Subject: [PATCH] fixed action motions with zeros in them --- vintage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vintage.py b/vintage.py index 8f9a050..5a859f5 100644 --- a/vintage.py +++ b/vintage.py @@ -169,7 +169,7 @@ def on_query_context(self, view, key, operator, operand, match_all): if operator == sublime.OP_NOT_EQUAL: return m != g_input_state.motion_mode elif key == "vi_has_repeat_digit": - if g_input_state.motion_command: + if g_input_state.action_command: v = len(g_input_state.motion_repeat_digits) > 0 else: v = len(g_input_state.prefix_repeat_digits) > 0