Title here
Summary here
Columnar Selections (Ctrl-v):
I or A) to insert or append text uniformly across rows.Non-Continuous Selections:
Ctrl-v and then modifying the selection with directional keys (h, j, k, l) to precisely adjust the selected area.Combining with : Commands:
: will prompt you with :'<,'>, indicating the range is selected.:sort to sort lines or :norm to apply normal mode commands across the selected lines.Advanced Formatting:
= to auto-indent or ! followed by an external command (e.g., fmt) to format text.Indentation:
> or < to shift the text right or left, respectively.. (dot) after shifting to continue indenting at the same level across different blocks.Integration with Search Operations:
: followed by s/<pattern>/<replacement>/ to replace text within the selected area only.Filtering Text Through External Programs:
:! followed by a command to filter the selected text through an external program, such as :!sort or :!awk.Executing Macros over Line Selections:
:norm @a where a is your macro.vim-visual-multi: Enhance visual mode with multiple cursors, allowing simultaneous edits in multiple locations.vim-expand-region: Increase the granularity of visual selections incrementally, perfect for precisely expanding selections.