Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added some helpers for when working in tex

  • Loading branch information...
commit 3e152324542fa9bdf205a75e713223c3b8ad9779 1 parent 578cbfd
@derekwyatt authored
View
4 ftplugin/tex.vim
@@ -5,9 +5,9 @@ setlocal spell
setlocal fdl=0
setlocal fdm=marker
setlocal fmr=<<<,>>>
-setlocal iskeyword+=_
imap <buffer> jj <esc>:w<cr>
imap <buffer> jw <c-o>:w<cr>
+imap <buffer> ;;; \\ldots
-imap ... \\ldots
+let g:tex_isk="48-57,a-z,A-Z,192-255,_"
View
90 spell/en.utf-8.add
@@ -45,3 +45,93 @@ refactor
screencasts
snuck
Dataflow
+Adamantium
+ScalaTest
+mixin
+ImplicitSender
+TestKit
+testActor
+EventSource
+expectMsg
+sendEvent
+TestEventSource
+ActorSystems
+actorOf
+ActorLogging
+ParallelTestExecution
+ScalaTest's
+InvalidActorNameException
+something's
+EventSourceSpy
+CountDownLatch
+eventSourceReceive
+CountDown
+ActorSys
+fishForMessage
+ScalaDoc
+ignoreMsg
+expectMsgPF
+AltimeterSpec
+receiveWhile
+AltitudeUpdates
+TestActorRef
+AttendantResponsiveness
+FlightAttendant
+maxResponseTimeMS
+ActorContext
+CoPilot
+LeadFlightAttendant
+PilotProvider
+Iterable
+actorFor
+ActorPath
+ControlSurfaces
+doesNotExist
+ActorContexts
+ActorCell
+NoDatabaseConnectionException
+AllForOneStrategy
+SupervisorStrategy
+OneForOneStrategy
+ActorKilledException
+ActorInitializationFailedException
+ActorContext's
+unwatch
+MyActor's
+preRestart
+MyActor
+preStart
+IsolatedLifeCycle
+IsolatedLifeCycleSupervisor
+postRestart
+supervisorStrategy
+FlightAttendants
+ActorInitializationException
+OneForOneStrategyFactory
+IsolatedResumeSupervisor
+startControls
+childStarter
+IsolatedStopSupervisor
+startPeople
+GiveMeControl
+CoPilots
+AutoPilot
+newPilot
+refactorings
+WebSocket
+ArithmeticException
+rateOfClimb
+altitudeCalculator
+ReadyToGo
+IsolatedLifeCycleSupervisor's
+AutoPilot's
+CoPilot's
+ActorSystem's
+commitData
+transactionId
+pendingCommit
+databaseOffline
+databaseOnline
+coffeeType
+DrinkingBehaviour
+standardBehaviour
View
BIN  spell/en.utf-8.add.spl
Binary file not shown
View
15 xpt-personal/ftplugin/tex/tex.xpt.vim
@@ -15,19 +15,19 @@ XPT chapter wrap=title hint=\\chapter{...}
XPT s wrap=title hint=\\section{...}
% - `title^ <<<1
\section{`title^}
-\label{sec:`title^S(SV(' ', '_', 'g'), '\([A-Z]\)', '\l\1', 'g')^}
+\label{sec:`title^S(S(SV(' ', '_', 'g'), ',%"!\.', '', 'g'), '\([A-Z]\)', '\l\1', 'g')^}
`cursor^
XPT ss wrap=title hint=\\subsection{...}
% -- `title^ <<<1
\subsection{`title^}
-\label{sec:`title^S(SV(' ', '_', 'g'), '\([A-Z]\)', '\l\1', 'g')^}
+\label{sec:`title^S(S(SV(' ', '_', 'g'), ',%"!\.', '', 'g'), '\([A-Z]\)', '\l\1', 'g')^}
`cursor^
XPT sss wrap=title hint=\\subsubsection{...}
% --- `title^ <<<1
\subsubsection{`title^}
-\label{sec:`title^S(SV(' ', '_', 'g'), '\([A-Z]\)', '\l\1', 'g')^}
+\label{sec:`title^S(S(SV(' ', '_', 'g'), ',%"!\.', '', 'g'), '\([A-Z]\)', '\l\1', 'g')^}
`cursor^
XPT heading wrap=title hint=\\subsubsection*{...}
@@ -49,8 +49,8 @@ XPT code hint=\\begin{lstlisting}...\\end{lstlisting}
`cursor^
\end{lstlisting}
-XPT ic hint=\\lstinline{code}
-\lstinline{`code^}`cursor^
+XPT ic wrap=code hint=\\lstinline{code}
+\icode{`code^}`cursor^
XPT fn hint=\\footnote{...}
\footnote{`^}`cursor^
@@ -161,3 +161,8 @@ XPT minted wrap=code hint=\\minted{...}
\begin{minted}[frame=lines, framesep=2mm]{`scala^}
`code^
\end{minted}
+
+XPT line hint=A\ horizontal\ line
+\begin{center}
+\line(1, 0){350}
+\end{center}
Please sign in to comment.
Something went wrong with that request. Please try again.