From 70d7f3aea5d8de71fc34a84b8b5b20c8bb01d077 Mon Sep 17 00:00:00 2001 From: jdhao Date: Fri, 13 Aug 2021 01:17:57 +0800 Subject: Add Redir command to capture command output easily --- plugin/command.vim | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 plugin/command.vim (limited to 'plugin/command.vim') diff --git a/plugin/command.vim b/plugin/command.vim new file mode 100644 index 0000000..e39859b --- /dev/null +++ b/plugin/command.vim @@ -0,0 +1,2 @@ +" Capture output from a command to register @m, to paste, press "mp +command! -nargs=1 -complete=command Redir call utils#CaptureCommandOutput() -- cgit v1.2.3