Hi,
Regarding the vim-latex menus: I had the same problem and ended up editing
the vim-latex files as a workaround.
It seems MacVim has a problem with vim-latex's use of <tab> in amenu lines.
The attached patch removes them for templates and macros.
Apply it with "patch -p0 < macvim-latex.diff"  in ~/.vim and you should see
the filenames for templates and macros.

Regarding the identation problem: you can try adding something like
"autocmd FileType tex setlocal indentexpr="
to your .vimrc

/max

On Tue, Apr 28, 2009 at 5:22 AM, boozler <[email protected]> wrote:

>
> The first problem is that the vim-latex templates do not have file
> names in the MacVim menu (Tex-Suite -> Templates) only numbers. So I
> have to guess at which template to load or load from the command line
> "TTemplate" which displays the correct names.
>
> Second problem: When I load my templates they are automatically
> indented. Can I turn off indentation just for while loading templates?
> If not can I turn off indentation just for the latex plugin? I need to
> keep indentation going for other file types (c/c++/ruby/etc)...
>
> FYI my vimrc:
> filetype plugin indent on
> set grepprg=grep\ -nH\ $*
> let g:tex_flaver='latex'
> let g:Tex_ViewRule_pdf = 'Preview'
>
> >
>

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

Attachment: macvim-latex.diff
Description: Binary data

Reply via email to