Tuesday, March 2, 2010

RE: vim glitch with opening new files

Andrey Voropaev wrote:
> vim new_file.c
>
> This opens empty file for editing.
>
> Now in vim I do
>
> :new new_file.h
>
> Instead of getting buffer with another empty file, I get the
> screen split and new_file.c is for edit in both buffers.

Are you sure? In my (pretty standard) Vim, I have a status-line
that shows the name of the file associated with the buffer, and
the above clearly shows that the top window is editing
new_file.h and the bottom window is editing new_file.c.

You can confirm by entering command:
:ls

John

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