From 3e152324542fa9bdf205a75e713223c3b8ad9779 Mon Sep 17 00:00:00 2001 From: Derek Wyatt Date: Fri, 29 Jun 2012 08:02:11 -0400 Subject: [PATCH] Added some helpers for when working in tex --- ftplugin/tex.vim | 4 +- spell/en.utf-8.add | 90 ++++++++++++++++++++++++++ spell/en.utf-8.add.spl | Bin 902 -> 3894 bytes xpt-personal/ftplugin/tex/tex.xpt.vim | 15 +++-- 4 files changed, 102 insertions(+), 7 deletions(-) diff --git a/ftplugin/tex.vim b/ftplugin/tex.vim index 2e52b9d..aba863d 100644 --- a/ftplugin/tex.vim +++ b/ftplugin/tex.vim @@ -5,9 +5,9 @@ setlocal spell setlocal fdl=0 setlocal fdm=marker setlocal fmr=<<<,>>> -setlocal iskeyword+=_ imap jj :w imap jw :w +imap ;;; \\ldots -imap ... \\ldots +let g:tex_isk="48-57,a-z,A-Z,192-255,_" diff --git a/spell/en.utf-8.add b/spell/en.utf-8.add index 750a178..ed099f7 100644 --- a/spell/en.utf-8.add +++ b/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 diff --git a/spell/en.utf-8.add.spl b/spell/en.utf-8.add.spl index 1b8fba5b30b27346dcb942ba095111bf18100110..99b35a1b105812522127e024c7b28fa203a52070 100644 GIT binary patch literal 3894 zcmZ`+&u<$=6rP!NQhEg{ae=EPBrY^QRI3Q3iIWB=O^8z}aVT2vuI+8syJmNt#0XWP zlnWOm)KhyX9FUNZ5E9o?2^0ZQ{{jw3+$ye|E5Y}@*|ifx8rj~RdGqFb-}~8j*EjQF z7{_n^qtyJvmpnfRyS;vNJ02wIFw2Y4!9_pVi<4nijC7$>on7?1(O%3=6Q(-GpE=SA z_CkHA3&$MQwNi~-+wW9eL1o}-MZQ{qW( z;zD<6B$44*4$(}Mhq#nV$2u|tYUC$_z|d-M_|O>W(D)2TvwRm?9y6?a*n`dZ5M>A0d)L#2V~?pu}`9{@B( z80a*c$C<^V;4XZJU77`SP7KN-2`e8#wq`?I zE9WPBk`Wja@)M?j`D@>VtT_QLBe?%#7h<;(;gq=`q2lg2UNlCCoXswqg#>~Nngiog zAVuU5v(%%@We_aVa;kEEC|D&AU>LKIccnrRecZvv#tws(Sxe%|u)CX>1Qai%SU$fb zjlmnU!!iz7&$2l$jF31iTP)5t2FM+`XCM=oLRvGpY|Jx|2I47mt1K1(OxqaD&ijm< zs?-oT&B$Pv(W>@5(`ruTrbja9ZkAYD;R^spQw%5bB0Mkl7^Os#!YX<`l6zI7Q}g`p z0FYQTSmXh+LE~+_GoWpLF^tLpGpbbU_HYC^>cxeQA0{b#l~JbVc>N4_pu`7KRi0BJ zV0=Q_14I+~A^B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xpt.vim b/xpt-personal/ftplugin/tex/tex.xpt.vim index 91abd89..92d40c5 100644 --- a/xpt-personal/ftplugin/tex/tex.xpt.vim +++ b/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}