From fa203cf3b86f82f6368c117dd1cff45896b633a9 Mon Sep 17 00:00:00 2001 From: jdhao Date: Fri, 13 Aug 2021 23:27:17 +0800 Subject: feat: make :edit command supports file glob patterns --- plugin/command.vim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugin') diff --git a/plugin/command.vim b/plugin/command.vim index e39859b..83cc750 100644 --- a/plugin/command.vim +++ b/plugin/command.vim @@ -1,2 +1,5 @@ " Capture output from a command to register @m, to paste, press "mp command! -nargs=1 -complete=command Redir call utils#CaptureCommandOutput() + +command! -bar -bang -nargs=+ -complete=file Edit call utils#MultiEdit([]) +call utils#Cabbrev('edit', 'Edit') -- cgit v1.2.3