hhh
hhh

Reputation: 52840

Vim: turn Diacritics On with Vim-latex-suite

The Vim-latex suite mentions that the Tex_Diacritics is off by default. I want to turn it on, how?

g:Tex_Diacritics                                           ls_11_3_7 ls_a_df
                                                                Tex_Diacritics


Type             Boolean
Default Value    0

Whether or not you want to use diacritics [ls_a_bw].

Also

These mappings speed up typing European languages which contain diacritic
characters such as a-umlaut etc.  >

+<l>     expands to \v{<l>}
=<l>     expands to \'{<l>} where <l> is an alphabet.

>

+}       expands to \"{a}
+:       expands to \^{o}

Perhaps related

  1. https://tex.stackexchange.com/questions/49304/how-to-enable-vims-latexsuite-on-all-kind-of-documents-or-manually

Upvotes: 0

Views: 293

Answers (1)

sidyll
sidyll

Reputation: 59287

It's a global variable, so you need:

:let g:Tex_Diacritcs=1

Also, that might be better included in your vimrc file so it's sourced at the correct moment.

Upvotes: 1

Related Questions