💾 Archived View for uscoffings.net › tech › vim › tips.gim captured on 2024-08-25 at 03:22:26.

View Raw

More Information

⬅️ Previous capture (2024-08-18)

-=-=-=-=-=-=-

# Refining my VIM Usage

## Copying whole lines
Do not ddP and then repeated P to many copies of a line.  Use 'y' to yank (copy), 'yy' or 'Y' for the whole line, then P.

## Changing whole lines
repeatedly change a line throughout a file
- learn how to use a named deletion register

## More efficient movement

### Screen moves
H home
M middle
L last

### Start/end moves
( ) move by sentence
{ } move by paragraph
[[ ]] move by section