Usually, I :split open (maximized) my active files and switch back and
forth using some helpful mappings (Alt-j and Alt-k). When the number of
splits are more, I open a tab and do similar stuff there. I usually do not
like the ":split" opening window unmaximized, so these mappings help in
achieving that:

"--8<--
set nocp
set winminheight=0
set laststatus=2

au WinEnter * wincmd _

"Map Alt-j to edit split window one below. "Alt" works well in GUI, use
something else inside terminals
nnoremap <m-j> <c-w>j
"Map Alt-k to edit split window one above
nnoremap <m-k> <c-w>k
"--8<--

Regards,
-Arun

On Tue, Dec 13, 2022 at 5:10 PM Steve Litt <sl...@troubleshooters.com>
wrote:

> Hi all,
>
> I typically use :bn and :bp to move between buffers, but I have five
> buffers open on my current project, which requires a heck of a lot of
> keystrokes to move to a specific buffer. So I'd like a command to bring
> up a list of buffers so I can chose a specific one.
>
> I've looked up :h buffers and can't find anything. Is there a way I
> could do this?
>
> Theoretically I could use the gvim menu system to do this, but it
> involves taking my hands off home position to use the arrow keys, and
> also, Alt+b is a difficult hotkey, so I'd much rather have some sort of
> Vim command to do it.
>
> Thanks,
>
> SteveT
>
> Steve Litt
> Autumn 2022 featured book: Thriving in Tough Times
> http://www.troubleshooters.com/bookstore/thrive.htm
>
> --
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vim_use/20221213200942.40af4307%40mydesk.domain.cxm
> .
>

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/CAJUkyiGmTh-YqV62qa3No6tTA%2B9qU6mNKRyHzL5_NF-T80DDQg%40mail.gmail.com.

Reply via email to