(
position: Position,
vimState: VimState,
count: number,
)
| 868 | keys = ['F', '<character>']; |
| 869 | |
| 870 | public override async execActionWithCount( |
| 871 | position: Position, |
| 872 | vimState: VimState, |
| 873 | count: number, |
| 874 | ): Promise<Position | IMovement> { |
| 875 | if (configuration.sneakReplacesF) { |
| 876 | return new SneakBackward(this.keysPressed.concat('\n'), this.isRepeat).execActionWithCount( |
| 877 | position, |
| 878 | vimState, |
| 879 | count, |
| 880 | ); |
| 881 | } |
| 882 | |
| 883 | count ||= 1; |
| 884 | const toFind = Notation.ToControlCharacter(this.keysPressed[1]); |
| 885 | const result = findHelper(vimState, position, toFind, count, 'backward'); |
| 886 | |
| 887 | vimState.lastSemicolonRepeatableMovement = new MoveFindBackward(this.keysPressed, true); |
| 888 | vimState.lastCommaRepeatableMovement = new MoveFindForward(this.keysPressed, true); |
| 889 | |
| 890 | if (!result) { |
| 891 | return failedMovement(vimState); |
| 892 | } |
| 893 | |
| 894 | return result; |
| 895 | } |
| 896 | } |
| 897 | |
| 898 | function tilHelper( |
nothing calls this directly
no test coverage detected