> E194: No alternate file name to substitute for # # and % are special. % is substituted by current filename. # by the buffer which was shown in the window before the current one.
Try this: :e A :e B :b # the last line will switch back to A doing the same <c-^> would Thus you have to quote both % and # if you want to pass them to applications. Yes - another special rule to remember. How to find this yourself the next time? :helpgrep alternate :cope Then the third hit is "alternate filename" in :h cmdline.txt line 925 is then what you're looking for. HTH Marc Weber -- 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
