Thursday, June 20, 2013

Re: C-6 is toggling between only last 2 open buffer

On Thu, Jun 20, 2013 at 11:47:11AM +0200, Christian Brabandt wrote:
> On Thu, June 20, 2013 11:02, rudrab wrote:
> > Hello friends,
> > I am using project and minibufexpl(mbx) with my vim.
> > The problem is using <C-6>, the buffer only toggles between last two open
> > buffer, and not the *all* buffer open.
> > Though, I can move through all the open buffers using mbx's way, (go to
> > mbx window and keep pressing arrow), a <C-6> like alternative would have
> > been helpful if it can span through *all* open buffers.
> >
> > Any help please?

> That is basically how it works. <C-6> only edits the alternate file and
> does not switch between other buffers.

> See

> :h CTRL-6
> :h alternate-file

> To switch between other buffers, you can use e.g. this mapping:

> nnoremap <f6> :ls<cr>:b

> alternatively, use one of the many plugins available (like unite or
> ctrlp). You might need to google for plugins, I am not sure,
> those mentioned provide this functionality.

> BTW: what is mbx?

the one I like best is

nnoremap <TAB> :bnext<CR>
nnoremap <S-TAB> :bprev<CR>

--
_|_ _ __|_|_ ._ o|
|_(_)(_)|_| ||_)||<
|

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: