vim:cheatsheet:marking_text_visual_mode
Differences
This shows you the differences between two versions of the page.
vim:cheatsheet:marking_text_visual_mode [2021/02/16 09:29] – created peter | vim:cheatsheet:marking_text_visual_mode [2021/02/16 09:31] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== VIM - Cheatsheet - Marking text (visual mode) ====== | ====== VIM - Cheatsheet - Marking text (visual mode) ====== | ||
+ | |||
+ | < | ||
+ | v - start visual mode, mark lines, then do a command (like y-yank) | ||
+ | V - start linewise visual mode | ||
+ | Ctrl + v - start visual block mode | ||
+ | |||
+ | o - move to other end of marked area | ||
+ | O - move to other corner of block | ||
+ | |||
+ | aw - mark a word | ||
+ | |||
+ | ab - a block with () | ||
+ | aB - a block with {} | ||
+ | at - a block with <> tags | ||
+ | |||
+ | ib - inner block with () | ||
+ | iB - inner block with {} | ||
+ | it - inner block with <> tags | ||
+ | |||
+ | Esc - exit visual mode | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | </ | ||
+ | |||
vim/cheatsheet/marking_text_visual_mode.1613467758.txt.gz · Last modified: 2021/02/16 09:29 by peter