On Friday, February 26, 2016 at 9:46:16 AM UTC-5, Jan wrote: > I've two files loaded, FileNumberOne in buffer 1, and FileNumberTwo in buffer > 2, with just FileNumberOne currently shown. I want to open FileNumberTwo in a > new split window. I can do ":split FileNumberTwo" to achieve this. However, I > don't want to type out or use completion to refer to FileNumberTwo. Some > commands will accept "#2", or even part of the buffer name as an argument, > but not :split (and some others) - or can they? > > I see the usage of split is ":[N]sp[lit] [++opt] [+cmd] [file]", so I was > trying to find help on what "[file]" means and what exactly I can substitute > it with, but don't know how to search the help for "[file]". What would I > search for for that? And [++opt], [cmd], etc. Are they in the help somewhere?
There is also ":sbuffer" which will take a buffer number or partial buffer name. -- -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
