v
The
Command
The v command in Vim
Command
visual mode
Enter Visual mode (character-wise selection). Move to extend the selection, then apply an operator.
V selects whole lines, Ctrl-v starts Visual Block mode for column selections.Examples
v(start select)vw(select to end of word)viw(select inner word)v$d(select to end, delete)Ctrl-v(visual block)Ctrl-v I# (comment column)
Reference
Learn every Vim command visually — right in your browser.
Add Vim What? to Chrome — FreeAlso on Firefox.
Related commands