How do I move the cursor to the other end of a visual selection?
o (in visual mode)
While in visual mode, pressing o swaps the cursor to the opposite end of the selection.
36 results for "visual mode o"
o (in visual mode)
While in visual mode, pressing o swaps the cursor to the opposite end of the selection.
o and O
In visual-block mode (), pressing o moves the cursor to the diagonally opposite corner of the selection, and O moves it to the other end of the same row (flippi
O in visual block mode
In visual block mode (), pressing O (uppercase) moves the cursor to the diagonally opposite corner of the rectangular selection.
O (visual-block)
In Visual-Block mode (), pressing O moves the cursor to the diagonally opposite corner of the rectangular selection.
O (in blockwise visual mode)
In blockwise Visual mode (), pressing O moves the cursor to the diagonally opposite corner of the rectangle.
O (visual block mode)
In visual block mode (), pressing O (uppercase) moves your cursor to the other end of the current line — letting you expand or contract the block's horizontal
o (in Visual mode)
When you make a Visual selection in Vim, the cursor sits at one end while the other end is anchored.
o (visual mode)
In visual mode, pressing o swaps the cursor between the two ends of the selection (the anchor and the free end).
v_o
When you start a visual selection, the cursor is at one end and the anchor is at the other.
O
The O (uppercase) command opens a new blank line above the current line and places you in insert mode, ready to type.
v3aw
In visual mode, repeating text object motions progressively expands the selection.
v + repeated iw/aw/i(/a(/ip/ap
Once you enter visual mode, you can progressively expand your selection by typing increasingly larger text objects.
visual-mode #visual-mode #text-objects #editing #selection #productivity
<C-v>$
In visual block mode, pressing $ extends the selection to the end of every line, even when lines have different lengths.
:set guicursor=n-v-c:block,i-ci-ve:ver25,r-cr:hor20
Neovim's guicursor option lets you assign a distinct cursor shape and style to each mode, providing immediate visual feedback about which mode you are in.
80i-<Esc>
Vim's insert commands accept a count prefix that repeats everything you type.
v
The v command enters character-wise visual mode, letting you select text one character at a time.
gh
Vim's Select mode behaves like the familiar selection model in most GUI editors: after selecting text, any printable character you type replaces the selection a
<C-v>
The (Ctrl+v) command enters visual block mode, which lets you select a rectangular column of text across multiple lines.
qaI<li><Esc>A</li><Esc>jq
This macro wraps each line in tags by inserting the opening tag at the start and appending the closing tag at the end.
viw
How it works The command viw selects the word under the cursor in visual mode.