Wednesday, July 28, 2010

Re: E13 error in v73b

> On 28/07/10 05:18, Ricky J. Wu wrote:
>
> > Hello all
>
> >    When I was using version 7.3b to open file and write after edit, I
> > encounter E13 error. I must use w! to override. Do you have the same
> > problem?
>
> "E13: File exists (add ! to override)"
>
> Are you using a filename after the :w ?
>
> ":w" with no arguments should save the current file under its existing
> name and (if you have write permission, and in particular if the file is
> not readonly) give no error.
>
> ":w filename.ext" and ":saveas filename.ext" will fail with E13 if
> filename.ext already exists: you must use ":w! filename.ext" or
> ":saveas! filename.ext" if you want to override an existing file.
>
> You can also use ":wq" or ":x"  (still with no arguments) to save the
> file (with no name change) and close the window in one operation.
>
> Best regards,
> Tony.

Thank you.
I found it's because of NerdTree has conflict with v73b, after I
disable NerdTree, it works fine.
I will report to NerdTree's author.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment