MCPcopy
hub / github.com/VSCodeVim/Vim / run

Method run

src/actions/operator.ts:553–562  ·  view source on GitHub ↗
(vimState: VimState, start: Position, end: Position)

Source from the content-addressed store, hash-verified

551 keys = ['<'];
552
553 public async run(vimState: VimState, start: Position, end: Position): Promise<void> {
554 vimState.editor.selection = new vscode.Selection(start, end.getLineEnd());
555
556 await vscode.commands.executeCommand('editor.action.outdentLines');
557 await vimState.setCurrentMode(Mode.Normal);
558 vimState.cursorStopPosition = TextEditor.getFirstNonWhitespaceCharOnLine(
559 vimState.document,
560 start.line,
561 );
562 }
563}
564
565/**

Callers

nothing calls this directly

Calls 3

getLineEndMethod · 0.80
setCurrentModeMethod · 0.45

Tested by

no test coverage detected