- Improved tex snippets.

This commit is contained in:
Shougo Matsushita 2012-12-21 19:19:23 +09:00
parent 46442d8893
commit 23677b98b9
2 changed files with 61 additions and 58 deletions

View File

@ -12,181 +12,181 @@ alias \begin
\end{$1}
snippet list
alias \begin{list}
alias \begin{list} \list
\begin{list}
${1:TARGET}
\end{list}
snippet quotation
alias \begin{quotation}
alias \begin{quotation} \quotation
\begin{quotation}
${1:TARGET}
\end{quotation}
snippet description
alias \begin{description}
alias \begin{description} \description
\begin{description}
\item ${1:TARGET}
\end{description}
snippet sloppypar
alias \begin{sloppypar}
alias \begin{sloppypar} \sloppypar
\begin{sloppypar}
${1:TARGET}
\end{sloppypar}
snippet enumerate
alias \begin{enumerate}
alias \begin{enumerate} \enumerate
\begin{enumerate}
\item ${1:TARGET}
\end{enumerate}
snippet theindex
alias \begin{theindex}
alias \begin{theindex} \theindex
\begin{theindex}
${1:TARGET}
\end{theindex}
snippet itemize
alias \begin{itemize}
alias \begin{itemize} \itemize
\begin{itemize}
\item ${1:TARGET}
\end{itemize}
snippet titlepage
alias \begin{titlepage}
alias \begin{titlepage} \titlepage
\begin{titlepage}
${1:TARGET}
\end{titlepage}
snippet verbatim
alias \begin{verbatim} verb
alias \begin{verbatim} verb \verbatim
\begin{verbatim}
${1:TARGET}
\end{verbatim}
snippet verbatimtab
alias \begin{verbatimtab}
alias \begin{verbatimtab} \verbatimtab
\begin{verbatimtab}[${1:8}]
${2:TARGET}
\end{verbatim}
snippet trivlist
alias \begin{trivlist}
alias \begin{trivlist} \trivlist
\begin{trivlist}
${1:TARGET}
\end{trivlist}
snippet verse
alias \begin{verse}
alias \begin{verse} \verse
\begin{verse}
${1:TARGET}
\end{verse}
snippet table
alias \begin{table}
alias \begin{table} \table
\begin{table}
${1:TARGET}
\end{table}
snippet thebibliography
alias \begin{thebibliography}
alias \begin{thebibliography} \thebibliography
\begin{thebibliography}
${1:TARGET}
\end{thebibliography}
snippet tabbing
alias \begin{tabbing}
alias \begin{tabbing} \tabbing
\begin{tabbing}
${1:TARGET}
\end{tabbing}
snippet note
alias \begin{note}
alias \begin{note} \note
\begin{note}
${1:TARGET}
\end{note}
snippet tabular
alias \begin{tabular}
alias \begin{tabular} \tabular
\begin{tabular}{${1}}
${2:TARGET}
\end{tabular}
snippet overlay
alias \begin{overlay}
alias \begin{overlay} \overlay
\begin{overlay}
${1:TARGET}
\end{overlay}
snippet array
alias \begin{array}
alias \begin{array} \array
\begin{array}{${1}}
${2:TARGET}
\end{array}
snippet slide
alias \begin{slide}
alias \begin{slide} \slide
\begin{slide}
${1:TARGET}
\end{slide}
snippet displaymath
alias \begin{displaymath}
alias \begin{displaymath} \displaymath
\begin{displaymath}
${1:TARGET}
\end{displaymath}
snippet abstract
alias \begin{abstract}
alias \begin{abstract} \abstract
\begin{abstract}
${1:TARGET}
\end{abstract}
snippet eqnarray
alias \begin{eqnarray}
alias \begin{eqnarray} \eqnarray
\begin{eqnarray}
${1:TARGET}
\end{eqnarray}
snippet eqnarray*
alias \begin{eqnarray*}
alias \begin{eqnarray*} \eqnarray*
\begin{eqnarray*}
${1:TARGET}
\end{eqnarray*}
snippet appendix
alias \begin{appendix}
alias \begin{appendix} \appendix
\begin{appendix}
${1:TARGET}
\end{appendix}
snippet equation
alias \begin{equation}
alias \begin{equation} \equation
\begin{equation}
${1:TARGET}
\end{equation}
snippet equation*
alias \begin{equation*}
alias \begin{equation*} \equation*
\begin{equation*}
${1:TARGET}
\end{equation*}
snippet center
alias \begin{center}
alias \begin{center} \center
\begin{center}
${1:TARGET}
\end{center}
snippet document
alias \begin{document}
alias \begin{document} \document
\begin{document}
${1:TARGET}
\end{document}
snippet figure
alias \begin{figure}
alias \begin{figure} \figure
\begin{figure}
\begin{center}
\includegraphics[${1:width=}]{${2}}
@ -196,49 +196,49 @@ alias \begin{figure}
\end{figure}
snippet filecontents
alias \begin{filecontents}
alias \begin{filecontents} \filecontents
\begin{filecontents}
${1:TARGET}
\end{filecontents}
snippet lrbox
alias \begin{lrbox}
alias \begin{lrbox} \lrbox
\begin{lrbox}
${1:TARGET}
\end{lrbox}
snippet flushleft
alias \begin{flushleft}
alias \begin{flushleft} \flushleft
\begin{flushleft}
${1:TARGET}
\end{flushleft}
snippet minipage
alias \begin{minipage}
\begin{minipage}
${1:TARGET}
\end{minipage}
snippet flushright
alias \begin{flushright}
alias \begin{flushright} \flushright
\begin{flushright}
${1:TARGET}
\end{flushright}
snippet minipage
alias \begin{minipage} \minipage
\begin{minipage}
${1:TARGET}
\end{minipage}
snippet picture
alias \begin{picture}
alias \begin{picture} \picture
\begin{picture}
${1:TARGET}
\end{picture}
snippet math
alias \begin{math}
alias \begin{math} \math
\begin{math}
${1:TARGET}
\end{math}
snippet quote
alias \begin{quote}
alias \begin{quote} \quote
\begin{quote}
${1:TARGET}
\end{quote}
@ -283,55 +283,55 @@ alias subparagraph \subparagraph{
# ========== FONT ==========
snippet bfseries
alias \begin{bfseries}
alias \begin{bfseries} \bfseries
\begin{bfseries}
${1:TARGET}
\end{bfseries}
snippet mdseries
alias \begin{mdseries}
alias \begin{mdseries} \mdseries
\begin{mdseries}
${1:TARGET}
\end{mdseries}
snippet ttfamily
alias \begin{ttfamily}
alias \begin{ttfamily} \ttfamily
\begin{ttfamily}
${1:TARGET}
\end{ttfamily}
snippet sffamily
alias \begin{sffamily}
alias \begin{sffamily} \sffamily
\begin{sffamily}
${1:TARGET}
\end{sffamily}
snippet rmfamily
alias \begin{rmfamily}
alias \begin{rmfamily} \rmfamily
\begin{rmfamily}
${1:TARGET}
\end{rmfamily}
snippet upshape
alias \begin{upshape}
alias \begin{upshape} \upshape
\begin{upshape}
${1:TARGET}
\end{upshape}
snippet slshape
alias \begin{slshape}
alias \begin{slshape} \slshape
\begin{slshape}
${1:TARGET}
\end{slshape}
snippet scshape
alias \begin{scshape}
alias \begin{scshape} \scshape
\begin{scshape}
${1:TARGET}
\end{scshape}
snippet itshape
alias \begin{itshape}
alias \begin{itshape} \itshape
\begin{itshape}
${1:TARGET}
\end{itshape}
@ -341,15 +341,15 @@ snippet usepackage
alias \usepackage
\usepackage${1:[${2\}]}{${3}}
snippet \ref
alias \ref{
snippet ref
alias \ref
\ref{${1}}${0}
snippet \label
alias \label{
snippet label
alias \label
\label{${1}}${0}
snippet \cite
alias \cite{
snippet cite
alias \cite
\cite{${1}}${0}

View File

@ -711,6 +711,9 @@ A: Please try below settings. It defines snipMate function.
==============================================================================
CHANGELOG *neosnippet-changelog*
2012-12-21
- Improved tex snippets.
2012-12-13
- Skip neocomplcache completion when expand or jump snippets.
- Fixed expand target behavior.