Monday, October 6, 2014

Re: Adding to latex-syntax

Nicholas Cole wrote:
> The latex-syntax file (:help latex-syntax) has information on a
> "selective conceal mode". Currently, this allows the following to be
> concealed:
>
>> Tex: Selective Conceal Mode~
>> You may selectively use conceal mode by setting g:tex_conceal in your
>> <.vimrc>. By default, g:tex_conceal is set to "admgs" to enable concealment
>> for the following sets of characters: >
>> a = accents/ligatures
>> b = bold and italic
>> d = delimiters
>> m = math symbols
>> g = Greek
>> s = superscripts/subscripts
>
> How could I add to this mode? I would like to conceal the following two things:
>
> - footnote commands: (\footnote{ ..... } )
> - citation commands: \cite[...]{.....}
>
> I'd really appreciate any help!
>
Hello!

(sorry if this is a duplicate response)

Please try setting up additional syntax in
$HOME/.vim/after/syntax/tex/tex.vim.

Regards,
Chip Campbell

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: