Wednesday, February 3, 2010

Re: A mapping to remap a mapping (but & are interpreted literally)

Am 03.02.2010 07:32, schrieb John Magolske:
> I'm trying to create a mapping that changes another mapping:
>
> map<leader>ts :let SuperTabMappingForward = '<leader><space>'<CR>
>
> But the second<leader> in that line gets interpreted as the literal
> mapleader character. Is there some way to escape it? Or perhaps a
> different means of inputting "<leader>"?

:h <lt>
:map <leader>ts :let SuperTabMappingForward = '<lt>leader><lt>space>'<CR>

--
Andy

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

No comments:

Post a Comment