Tuesday, October 9, 2012

Re: buffers in splits

On Tue, Oct 9, 2012 at 9:39 PM, Ben Fritz <fritzophrenic@gmail.com> wrote:
> On Tuesday, October 9, 2012 4:23:38 PM UTC-5, shawn wilson wrote:
>>
>> what i generally do is have a split (window?) that i want to toggle
>> between two files in, but if i have two other files i want to toggle
>> between in another window, this becomes an issue as i need to remember
>> my current place in the buffers and i can't just bn/bp . is there a
>> way to do this?
>>
>
> Each window has its own "alternate file" which you can switch between with either:
>
> :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.

> or CTRL+^ (CTRL+6 on a QWERTY keyboard) in normal mode.

that does what i want. thanks

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