Tuesday, October 9, 2012

Re: buffers in splits

On Tuesday, October 9, 2012 4:59:37 PM UTC-5, shawn wilson wrote:
>
> > :b #
>
> i have no idea what that's doing. if i have only two files, b1 work.
> but, if i type b2, it opens up a new file, and if i hot ':' again, vim
> closes that split, and displays a part of the other file and i can't
> figure out how to get out of this.
>

I meant, type a '#' character literally, not a number.

See :help :_# and :help alternate-file

If you use a number with :b, you're switching to a specific buffer, as given by the buffer number which you can see with :ls. See :help :b

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