I need to write a function that when executed it opens
colon command and paste some stuff on to it and let user edit it before executing the command.
function! EditRelativePath() :e expand("%") endfunction
so i'm expecting the above code to start a prompt like
but it does not simply work, please advice, thanks.