zettel.thermokar.st

The :normal command runs normal commands on multiple lines

The :normal command is a useful way to run the same Normal mode command on multiple lines.

:%normal i# <CR>

The command above will comment out an entire Python source file.


Tags: vim

Created: 2021-03-14T14:34:00Z · Updated: 2021-03-14T21:38:00Z