Saturday, August 9, 2014

Adding to latex-syntax

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!

Very best wishes,

Nicholas

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