| 1012 | |
| 1013 | @RegisterAction |
| 1014 | export 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 |
| 1027 | class MoveLineBegin extends BaseMovement { |
nothing calls this directly
no outgoing calls
no test coverage detected