dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit e093afa07518b16b70a057bb0d0eb289364e13e6
parent 7bf9043077282bf1a4f5789852161d7bd1e197d0
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Thu, 11 Apr 2019 20:43:27 +0200

Vim latex snippets


Former-commit-id: a34df61eca37f43b527ad8b9f9da3a786f8a43e6
Diffstat:
Mvim/ultisnips/tex.snippets | 14++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)

diff --git a/vim/ultisnips/tex.snippets b/vim/ultisnips/tex.snippets @@ -78,6 +78,16 @@ snippet sec "section{}" b $0 endsnippet +snippet ssec "subsection{}" b +\subsection{$1} +$0 +endsnippet + +snippet sssec "subsection{}" b +\subsubsection{$1} +$0 +endsnippet + snippet mk "Inline math" wA $${1}$`!p if t[2] and t[2][0] not in [',', '.', '?', '-', ' ']: @@ -179,6 +189,10 @@ snip.rv = stripped[0:i] + "\\frac{" + stripped[i+1:-1] + "}" `{$1}$0 endsnippet +context "math()" +snippet * "×" wA +\times$0 +endsnippet # }}} # Custom commands {{{