about summary refs log tree commit diff
path: root/content/notes/vim-paste-command.md
blob: d1da45f7e38927a46af96f1f69d91dfd92d836a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
+++
title = "Paste command output into vim"
date = 2024-04-24
categories = ["software", "guide"]
tags = ["vim"]
+++

To paste the command output into vim, type `:r!<command>`.
For example, to paste current date in ISO 8601 into vim, I can type:
`r!date -I`.