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

Class MoveLineEnd

src/actions/motion.ts:1014–1024  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1012
1013@RegisterAction
1014export class MoveLineEnd extends BaseMovement {
1015 keys = [['$'], ['<End>'], ['<D-right>']];
1016
1017 public override async execActionWithCount(
1018 position: Position,
1019 vimState: VimState,
1020 count: number,
1021 ): Promise<Position | IMovement> {
1022 return position.getDown(Math.max(count - 1, 0)).getLineEnd();
1023 }
1024}
1025
1026@RegisterAction
1027class MoveLineBegin extends BaseMovement {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected