Tuesday, December 1, 2009

Re: & xmledit

> It seems to me that, according to Vim's documentation,
> setting
> maplocalleader any time before the mappings of xml.vim were
> defined should have worked.
>
> As an experiment, I created a file with the contents shown
> here:
>
>     map <LocalLeader>X :echo "hello
> X"<CR>
>     let maplocalleader = ","
>     map <LocalLeader>Y :echo "hello
> Y"<CR>
>     let maplocalleader = ""
>     map <LocalLeader>Z :echo "hello
> Z"<CR>
>
> and sourced it.  Both the ":map" command and trying
> the mappings
> verified that the left-hand sides of the mappings were as
> expected:
>
>     \X
>     ,Y
>     \Z
>
> It worked for me; I wonder why it didn't work for Tuo Pe.

Guess I need to try again. :-) This time, I will place the
`let maplocalleader = ' command closer to `map <LocalLeader>' commands in the xml.vim file.

T


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

No comments: