From 11a7b9b66ce34258a895d2d875fe1e7c0a278b9c Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Wed, 24 Apr 2024 22:47:39 +0700 Subject: Rename TIL to software notes --- content/sw-notes/vim-paste-command.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 content/sw-notes/vim-paste-command.md (limited to 'content/sw-notes/vim-paste-command.md') 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!`. +For example, to paste current date in ISO 8601 into vim, I can type: +`r!date -I`. -- cgit 1.4.1