Wednesday, June 30, 2010

Re: Conditional imap

On Jun 29, 6:04 am, gitterrost4 <gitterro...@gmx.de> wrote:
> Indeed it was latex-suite overriding the map from my tex.vim file. I fixed
> this by appending the line
>
> exe 'source '.fnameescape('~/.vim/ftplugin/tex.vim')
>
> to the file $VIM/ftplugin/latex-suite/main.vim
>

This could certainly be done better!

Just put your mapping in ~/.vim/after/ftplugin/latex-suite.vim, and
don't add any extra "source" logic to anything.

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