about summary refs log tree commit diff
path: root/content/sw-notes/vim-paste-command.md
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2024-04-24 22:47:39 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2024-04-24 22:48:05 +0700
commit11a7b9b66ce34258a895d2d875fe1e7c0a278b9c (patch)
treef73ad46b083c4edf90736f99a74609ff1451f59a /content/sw-notes/vim-paste-command.md
parent94f18e532f73ea80076953daf9b3a616378e91eb (diff)
downloadblog-11a7b9b66ce34258a895d2d875fe1e7c0a278b9c.tar.gz
Rename TIL to software notes
Diffstat (limited to 'content/sw-notes/vim-paste-command.md')
-rw-r--r--content/sw-notes/vim-paste-command.md11
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`.