Saturday, July 6, 2019

edit several files

Good morning,
I can read in help file usr_07.txt, that



"So far you had to start Vim for every file you wanted to edit. There
is a
simpler way. To start editing another file, use this command:

:edit foo.txt

You can use any file name instead of "foo.txt". Vim will close the
current
file and open the new one. If the current file has unsaved changes,
however,
Vim displays an error message and does not open the new file:

E37: No write since last change (use ! to override)"



On my laptop, it is not the same behaviour. The first file remains
open, and vim does not ask me anything to open the second file...

Can you help me?
Best regards,
Mathieu





--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/1531833005552bb4e0ff17bec0497b409a1fcab8.camel%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments: