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 '?
On Fri, Jan 09, 2009 at 02:32:27PM -0800, Ben Fritz wrote:
>
>
>
> On Jan 9, 12:14 pm, David Karapetyan <[email protected]>
> wrote:
> > Hello everyone. When I try to map ' ` using imap ' ` in my vimrc, I find
> > that ' ` is mapped correctly for every file except tex files. I suspect
> > some code in the latex-suite package is nullifying any imap additions I
> > make in my vimrc. INterestingly enough, if I run imap ' ` from within
> > vim while editing a tex file, it behaves as it is supposed to (I get the
> > mapping I want). What possible solutions are there to my problem?
> >
>
> First, figure out what is causing the problem. If it is as you expect,
> you can determine exactly where your mapping is getting overwritten by
> typing:
>
> :verbose map! '
>
> Incidentally, I'm curious as to why you always want a ` instead of a
> '. Does LaTeX always use ` instead?
> >
--
--
Best,
David Karapetyan
http://davidkarapetyan.homeunix.com
University of Notre Dame
Department of Mathematics
255 Hurley Hall
Notre Dame, IN 46556-4618
Phone: 574-631-5706
Cell: 202-460-5173
Fax: 574-631-6579
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---