Saturday, October 2, 2010

Re: Mapping ` to , in visual mode

On 2 oct, 20:44, "Israel Chauca F." <israelvar...@fastmail.fm> wrote:
> On Oct 2, 2010, at 11:35 AM, alexandre krispin wrote:
>
> > Hello,
>
> > I use latexsuite in Vim. When I want to select a block of text in
> > visual mode in order to emphasize the text, I select it, and then
> > press ` and em.
> > Since I have a french keyboard (azerty), this is quit painful if I
> > have to use it many times. For this reason I have tried to map the `
> > to the , key but without success.
>
> > Since I have tried many ways to get it working, I couldn't sum up all
> > the things I have tried. But here is an example of what I have tried :
> > vmap <silent>`<ESC>,
>
> I don't know if it's exactly what you're trying, but that is wrong, you must use a space to separate things:
>
> vmap <silent>` <Esc>,
>
> Israel

Than you for your answer !
I don't remember all the things I have tried, and for this reason I
couldn't say if I put a space. But right now I have just try it and
even with a space it doesn't work.

If you don't use the plugin latexsuite, could you tell me how you
would map ` to , with virtual mode ?

--
Alexandre Krispin

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment