On 10/01/09 00:45, David Karapetyan wrote:
> Yes, I'd like to map ' to `, just because it is more conveniently
> located on my keyboard. Latex uses ` by default, and it is quite useful;
> for example, you can type in `a, and it will expand to \alpha, `b will
> expand to \beta, and so on. Here is reponse I get when I run 'verbose
> map!':
>
>    '           *<C-R>=<SNR>11_LookupCharacter("'")<CR>
>               Last set from ~/.vim/plugin/imaps.vim
>
> It seems there would be major repercussions to editing that file. Is
> there any autocmd I can put in my vimrc that will execute after
> latex-suite sets '?

Try mapping it to something else than the apostrophe. I'm not sure which 
keyboard layout you're using (probably not Belgian, which is what I 
use), so it's hard for me to recommend something, except that the "best" 
keys to use for the {lhs} of a mapping in Vim to try to avoid collisions 
are usually F2 to F12 and Shift-F1 to Shift-F12.

Best regards,
Tony.
-- 
ARTHUR:        I command you as King of the Britons to stand aside!
BLACK KNIGHT:  I move for no man.
                                   The Quest for the Holy Grail (Monty 
Python)

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

Reply via email to