On 2012-05-12, Andrew Spano wrote: > Hello Vimmers, I'm a relatively new vimmer as well as a big fan of > the editor. I'm normally a gnu/linux user but I am forced to use > windows at school. For whatever reason I can not open multiple files > at the same time in vim, or switch between buffers. If I try to give > vim multiple file arguments when starting vim, it will just open up > the first one provided, if I try to navigate to the second file using > 'n' I get the error "There is only one file to edit." If I try to > open up another file in vim the current buffer is simply replaced > with the new file. I have read section 6 of the vim faq but I'm > puzzled as to why I'm having this issue.
How are you attempting to open multiple files in Windows? Are you selecting multiple files in Windows Explorer, the right-clicking and selecting Open With -> Vi Improved - A Text Editor? After selecting multiple files, you should have a menu item, "Edit with single Vim". That one should let you use ":n" as you expect. I had a similar problem recently when I had to do a fresh install of Vim a on a new Windows machine. For some reason, the menu items were not correctly installed and I could not open multiple files in Vim. I solved it by re-running the installer. > In the past, if I used 'e' to open a file it would open it in a > new buffer. That should never have worked. ":e" opens a file in the current buffer. To open a file in a new buffer you need to use a different command such as ":split". > Come to think of it, I'm having a similar issue now in arch. Does > anybody know the solution to my issue? Any help is appreciated :)! If you mean that in Arch, ":e" does not open a file in a new buffer, that is correct. See above. HTH, Gary -- 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
