News for hackers. Stuff that matters.
Re:Ask HN: What is one Vim trick most people don't know? by lgeorget on Friday June 29, 2018 @02:24AM (#17422774)
`Shift+v` to select a block of text and do a single operation to the same portion of text on several lines (regexp, aligning, etc.)

There's also `vt` + some character to select text from the cursor to the next occurrence of that character.

Re:Ask HN: What is one Vim trick most people don't know? by _31 on Friday June 29, 2018 @03:05AM (#17422924)
I've been looking for something like `Shift+v`! Thanks for that. +1 for `vt` as well.
Re:Ask HN: What is one Vim trick most people don't know? by amaterasu on Friday June 29, 2018 @03:30AM (#17423015)
Also ctrl-v allows you to manipulate a block of text, or insert text on multiple lines at once using I or A for before or after the block.