Saturday, October 2, 2010

Re: Mapping ` to , in visual mode

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

--
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: