From b3f34d0b03ff9228cce4cb96538ee78c97dfd2e7 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Wed, 5 Aug 2020 12:28:35 +0300 Subject: [PATCH] Fast changing between file extensions --- vim/.vim/plugin/exted.vim | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 vim/.vim/plugin/exted.vim 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() -- 2.44.0