Skip to content
Browse files

Merge

  • Loading branch information...
2 parents 4f02ad1 + 97193e8 commit d5d09904f7c241df06ed72b1f0d208cd06cb05f9 @derekwyatt committed Jan 17, 2013
View
1 bundle/.gitignore
@@ -17,6 +17,7 @@ vim-gnupg
vim-gundo
vim-jade
vim-javascript
+vim-jellybeans
vim-json
vim-l9
vim-mwutils
View
2 bundle/from_github.md
@@ -11,7 +11,9 @@
* **GNUPG**: `git clone https://github.com/vim-scripts/gnupg.vim.git vim-gnupg`
* **Gundo**: `git clone https://github.com/sjl/gundo.vim.git vim-gundo`
* **JSON**: `git clone https://github.com/vim-scripts/vim-addon-json-encoding.git vim-json`
+* **Jade**: `git clone https://github.com/vim-scripts/jade.vim.git vim-jade`
* **JavaScript**: `git clone https://github.com/pangloss/vim-javascript.git vim-javascript`
+* **Jellybeans**: `git clone https://github.com/nanotech/jellybeans.vim.git vim-jellybeans`
* **L9**: `git clone https://github.com/vim-scripts/L9.git vim-l9`
* **MWUtils**: `git clone https://github.com/MarcWeber/vim-addon-mw-utils.git vim-mwutils`
* **NERDTree**: `git clone https://github.com/scrooloose/nerdtree.git vim-nerdtree`
View
3 spell/en.utf-8.add
@@ -180,3 +180,6 @@ sendOff
alterOff
flatMap
foreach
+TelnetServer
+Iteratees
+Iteratee
View
BIN spell/en.utf-8.add.spl
Binary file not shown.
View
21 xpt-personal/ftplugin/tex/tex.xpt.vim
@@ -3,6 +3,16 @@ XPTemplate priority=personal
XPTinclude
\ _common/personal
+let s:f = g:XPTfuncs()
+
+function s:f.bookBranches()
+ return split(system("git --git-dir=/Users/quinn/Dropbox/book/src/.git --work-tree=/Users/quinn/Dropbox/book/src branch -a | cut -c3-"))
+endfunction
+
+function s:f.bookSrcFiles()
+ return split(system("cd /Users/quinn/Dropbox/book/src; find main test -name \*.scala -o -name \*.conf -o -name \*.java"))
+endfunction
+
XPT tt wrap=text hint=\\texttt{...}
\texttt{`text^}`cursor^
@@ -56,13 +66,16 @@ XPT fn hint=\\footnote{...}
\footnote{`^}`cursor^
XPT insertCodeFile hint=Inserts\ an\ entire\ code\ file
-\begin{lstlisting}[frame=b,caption=`caption^]
-INCLUDE_SOURCE_FILE{`branch^:`location^.scala}
+XSET branch|def=bookBranches()
+\begin{lstlisting}
+INCLUDE_SOURCE_FILE{`branch^:`location^}
\end{lstlisting}
XPT insertCodeSection hint=Inserts\ a\ section\ from\ a\ code\ file
-\begin{lstlisting}[frame=b,numbers=left,caption=`caption^]
-INCLUDE_SOURCE_FILE_SECTION{`branch^:`location^.scala,`section^}
+XSET branch|def=bookBranches()
+XSET location|def=bookSrcFiles()
+\begin{lstlisting}
+INCLUDE_SOURCE_FILE_SECTION{`branch^:`location^,`section^}
\end{lstlisting}
XPT e wrap=text hint=\\emph

0 comments on commit d5d0990

Please sign in to comment.
Something went wrong with that request. Please try again.