Dup Goto 📝

Inserting and Reading

PT2/editor/vim/text-editing 07-31 13:46:46
To Pop
17 lines, 55 words, 280 chars Monday 2023-07-31 13:46:46

Inserting recipes

To insert a file below the current line:

:r filename

To insert the output of a shell command

:r! command arg arg

To insert a file above the current line:

:.-1r filename

To insert a file at the start of the file

:0r filename