From 0966303bb97c13486183481eac069da3201fe810 Mon Sep 17 00:00:00 2001 From: Alexandre Silva Date: Thu, 9 Jul 2020 17:05:14 +0100 Subject: [PATCH] Add OperatorPendingMode to new textObject argument --- src/actions/textobject.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/actions/textobject.ts b/src/actions/textobject.ts index 2dd403175eb7..36c79e966102 100755 --- a/src/actions/textobject.ts +++ b/src/actions/textobject.ts @@ -685,7 +685,7 @@ class InsideIndentObjectBoth extends IndentObjectMatch { } abstract class SelectArgument extends TextObjectMovement { - modes = [Mode.Normal, Mode.Visual]; + modes = [Mode.Normal, Mode.OperatorPendingMode, Mode.Visual]; private static openingDelimiterCharacters(): string[] { return configuration.argumentObjectOpeningDelimiters; @@ -898,13 +898,11 @@ abstract class SelectArgument extends TextObjectMovement { @RegisterAction export class SelectInnerArgument extends SelectArgument { - modes = [Mode.Normal, Mode.Visual]; keys = ['i', 'a']; } @RegisterAction export class SelectAroundArgument extends SelectArgument { - modes = [Mode.Normal, Mode.Visual]; keys = ['a', 'a']; selectAround = true; }