On [2007-01-09 at 11:55am] Albie <[EMAIL PROTECTED]> wrote:
> John Cordes wrote:
> >On [2007-01-09 at 11:00am] Tim Chase <[EMAIL PROTECTED]> wrote:
> >>vnoremap <leader>= :!par<cr> 
> >>vnoremap <leader>g= :!par<space>
> >
> >  I never encountered "<leader>" before; I have just read :h
> >on <Leader> but don't seem to be much wiser :(

> First, run (in normal mode):
> 
> :let mapleader
> 
> That command will reveal the key you currently have
> configured to be your <Leader>.  Assuming the output of the
> above command is:
> 
> mapleader             ,
> 
> You should then be able to execute the first command by going:
> 
> v
> [moving around for selection]
> ,=
> 
> For the second command, replace ",=" above with ",g=".
> 
> The <Leader> defaults to \ on some installations, I believe.

 Ah - thank you. My mapleader variable was undefined. I set it
to "," and now things behave the way you, and Tim, said they
should.

 I may give vis.vim a try too, but for now I am ok with
linewise selectin.

 Thank you all very much - what a great list!

 John

Reply via email to