On Thursday 06 November 2008 2:14 am, Anton Sharonov wrote:
> 
> 2008/11/3, Dean <[EMAIL PROTECTED]>:
> > A nice way to jump between 3 buffers is to set uppercase marks. Go to
> > each file in turn and set the marks: mA, mB, mC. Then 'A or 'B or 'C
> > to jump between the files instantly.
> >
> > Of course you can set marks for as many files as you like and you can
> > use any uppercase letter or a digit in the mark. Something mnemonic
> > would be helpful. (Lowercase marks don't jump between files.)
> >
> > :help marks
> 
> Yes, but the problem with marks is that you are forced always to
> redefine marks a bit - otherwise you are dropped to the exact place in
> the file, where do you made the mark.
> 
> So it isn't what you can IMO use for quick switches between files
> (since your area of interests will be moved in those files, but marks
> will alway drop you at the same place).
> 
> Or are there some '<letter>, `<letter> analog to jump to the line of
> buffer, which you are in this buffer if you use :buffer
> <bufNameOrNumber> command ?

the fastest, easiest buffer switching I know is to map:

nmap <silent> <F6> :silent bnext<CR>
nmap <silent> <S-F6> :silent bprev<CR>

then use F6 or S-F6 to move around.  I use these so much they are a
permanent feature of my .vimrc

sc

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to