From 8e9d221d066789f32c2734ef357f522111c479e3 Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Tue, 11 Dec 2012 00:41:51 +0900 Subject: [PATCH] - Improved tex snippet. --- autoload/neosnippet/snippets/tex.snip | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/autoload/neosnippet/snippets/tex.snip b/autoload/neosnippet/snippets/tex.snip index a6491f5..f9aada9 100644 --- a/autoload/neosnippet/snippets/tex.snip +++ b/autoload/neosnippet/snippets/tex.snip @@ -245,11 +245,10 @@ alias \begin{quote} # ========== SECTION ========== -snippet part -alias \begin{part} - \begin{part} - ${1:TARGET} - \end{part} +snippet \part +alias part \part{ + \part{${1}} + ${0:TARGET} snippet \chapter alias chapter \chapter{ @@ -271,25 +270,13 @@ alias subsubsection \subsubsection{ \subsubsection{${1}} ${0:TARGET} -snippet paragraph -alias \begin{paragraph} - \begin{paragraph} - ${1:TARGET} - \end{paragraph} - snippet \paragraph -alias \paragraph{ +alias paragraph \paragraph{ \paragraph{${1}} ${0:TARGET} -snippet subparagraph -alias \begin{subparagraph} - \begin{subparagraph} - ${1:TARGET} - \end{subparagraph} - snippet \subparagraph -alias \subparagraph{ +alias subparagraph \subparagraph{ \subparagraph{${1}} ${0:TARGET}