On Tuesday 31 March 2009 1:38 pm, Brian Dunn wrote:
>
> hi list.
> is there a way to get a quick fix type window with links to all of my
> tabs or buffers?
> run :ls to list the buffers,
> remembering the number,
> run :b with the number,
> just seems like too many steps.
the easiest, leanest method is to define a map such as:
nmap <M-F6> :ls<CR>:b<space>
that way the list is right there and you don't have to remember the
number very long
one of the more popular plugins is BufExplorer -- if you don't mind
adding yet another plugin to your install, have a look at
http://vim.sourceforge.net/scripts/script.php?script_id=42
then add something like
let g:bufExplorerSortBy='number'
nmap <silent> <F2> :silent BufExplorer<CR>
to your .vimrc
sc
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---