Swap and Adjust Endpoints
o jumps to the other end. O switches corners in block mode.
While in Visual mode, o swaps the cursor between the start and end of the selection โ letting you adjust either endpoint without restarting. In block mode, O swaps the diagonal corner.
Once in Visual mode, the cursor sits at one end of the selection โ and that's the only end you can extend. The o key swaps which end is active.
| Key | Note |
|---|---|
| v | Enter Visual |
| j | Extend down past where you want |
| j | Too far? |
| o | Hop to the OTHER end |
| k | Now adjust the start with motions |
Watch
- ๐บ #0437 v_d / v_c โ Delete/Change (not yet published)
- ๐บ #0438 v_y โ Yank Selection (not yet published)
See also: The Three Visual Modes, {key:gv} โ Re-Select