if exists("*exted") | finish | endif function! s:exted(ext) execute "edit %<." . a:ext endfunction command! -nargs=1 Ee silent call s:exted()