> -----------------------
> map <leader>mv :RenameFile<space>
> \<c-r>=expand('%')<cr>
> \<c-r>=Empty(setcmdpos(getcmdpos()-length(expand('%:t'))))<cr>
> 
> function! Empty(...)
>    return ""
> endfun
> -----------------------------
When using strlen() yes. ;)

Thanks Marc

Reply via email to