diff options
Diffstat (limited to 'content/sw-notes/vim-paste-command.md')
-rw-r--r-- | content/sw-notes/vim-paste-command.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/content/sw-notes/vim-paste-command.md b/content/sw-notes/vim-paste-command.md new file mode 100644 index 0000000..841d4be --- /dev/null +++ b/content/sw-notes/vim-paste-command.md @@ -0,0 +1,11 @@ +--- +title: "Paste command output into vim" +date: 2024-04-24 +translationKey: vim-paste-command +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`. |