zettel/d2e178e0.md

298 B

date tags
2021-03-14T14:34
vim

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.