zhuang@linux:~/reading/practical-vim/04-visual-mode/$ less

Practical Vim / chapter 04

Visual Mode

$ grep tags 04-visual-mode.md

This post extracts some knowledge from Chapter 4 – Viusal Mode.

v enables character-wise visual mode, V enables line-wise visual mode, <C-v> enables block-wise visual mode.

gv reselects the last visual selection.

o toggle the free end of highlighted text.

r can replace all selections.

The I and A commands both do it, placing the cursor at the start or end of the selection, respectively.

In Visual and Operator-Pending modes the i and a keys follow a different convention: they form the first half of a text object.

zhuang@linux:~/reading/practical-vim/04-visual-mode/$ comments