On 2/25/07, Pavel Shevaev <[EMAIL PROTECTED]> wrote:
> :h :saveas

BTW, is it possible somehow to rename file not save as?

Here is user-defined RENAME command that seems to work:

   :command! -narg=1 RENAME if rename(expand('%'),<q-args>)==0|file
 <args>|else| echo "Renaming error"| endif

The :rename command is in the todo list. (':help todo', search for :rename).

Yakov

Reply via email to