From: Sergey Matveev Date: Sat, 25 Jun 2022 19:13:16 +0000 (+0300) Subject: exted plugin is convenient anyway X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=bce94a4334137f6152f8622e49ee31e57d352c55 exted plugin is convenient anyway --- diff --git a/vim/.vim/plugin/exted.vim b/vim/.vim/plugin/exted.vim new file mode 100644 index 0000000..e24524e --- /dev/null +++ b/vim/.vim/plugin/exted.vim @@ -0,0 +1,7 @@ +if exists("*exted") | finish | endif + +function! s:exted(ext) + execute "edit %<." . a:ext +endfunction + +command! -nargs=1 Ee silent call s:exted()