From: Sergey Matveev Date: Wed, 5 Aug 2020 09:28:35 +0000 (+0300) Subject: Fast changing between file extensions X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=b3f34d0b03ff9228cce4cb96538ee78c97dfd2e7 Fast changing between file extensions --- diff --git a/vim/.vim/plugin/exted.vim b/vim/.vim/plugin/exted.vim new file mode 100644 index 0000000..013402a --- /dev/null +++ b/vim/.vim/plugin/exted.vim @@ -0,0 +1,4 @@ +function! s:exted(ext) + execute "edit %<." . a:ext +endfunction +command! -nargs=1 Ee silent call s:exted()