diff --git a/vintage_motions.py b/vintage_motions.py index 44f2124..c5f8a8c 100644 --- a/vintage_motions.py +++ b/vintage_motions.py @@ -305,7 +305,7 @@ def expand_to_quote(self, character, r): # No quoted text --do nothing (Vim). # TODO: Vintage will enter insert mode after this, whereas it should # stay in command mode as Vim does. - if not closing_quote or closing_quote == -1: + if closing_quote == -1: return r # Quoted text is before the caret --do nothing (Vim).