> I am having problems with digraphs in vimlatex: in normal vim, to obtain é
> I usually type  '<BS>e
> When in vimlatex, the same doesn't hold. Why?
> 
> I know I can use <CTRL-K>'e, but I would like to know why the other way 
> doesn't work: it
> should, since the digraph option is on.

If you must, try something like this (e.g., in your .vimrc)

imap '<BS> <C-K>'

Alternatively, you can use the IMAP command, but you won't be able to 
use backspace... For example:

au VimEnter call IMAP("'\\", "\<C-k>'", '')

will make '\ act just like '<BS>. In that last case, you can make the 
IMAP command only apply to tex files by changing the third argument:

au VimEnter call IMAP("'\\", "\<C-k>'", 'tex')


Again, I don't know why Vim-LaTeX is changing how these keys work, but 
if you must use digraphs in your source, hopefully those mappings will 
help make things a little easier.


Note:

*) If you're using digraphs, you should use the inputenc package to 
translate those digraphs the proper LaTeX equivalents.

*) Depending on how exotic your digraphs are (e.g., how many bits they 
are), be careful who you send them to. For example, doing

<C-k>'e

on my OS/X system does not produce an accented e on my screen.


Best wishes --
Ted


-- 
Ted Pavlic <[EMAIL PROTECTED]>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to