Raúl Núñez de Arenas Coronado wrote: > I do "vim onefile.txt otherfile.txt" and the window title says: > > "onefile.txt (~/Desktop) (1 of 2) - VIM" > > I assume this is correct. Then I do ":bd" and the window title says: > > "otherfile.txt (~/Desktop) ((1) of 2) - VIM" > > That is, the "1" is now between parentheses. > > For a start, this doesn't fit the help description, "filename [+=-] > (path) - VIM" unless I'm missing anything in the help :? > > Apart from that, I don't know what the parentheses mean, and > I don't know if the "2" means "two files" (would be correct) > or "two buffers" (would be wrong).
A bit of exploring makes me think the following. You start with 'vim one.txt two.txt' then ':bd' but you have not done ':next'. So Vim started by displaying one.txt which was the first file in an argument list of two (1 of 2). The :bd makes the 1 invalid, so it is placed in parentheses which indicates that you are up to argument 1, but you are editing some other file. I believe the (1 of 2) is talking about the argument list, so it's not quite buffers or files. BTW after :bd there still are two buffers, but one of them is unlisted. Enter :ls! to see that you still have two buffers. Use :bw to really wipeout a buffer (but that makes Vim forget things like last edited position and any marks). 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
