Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of https://github.com/derekwyatt/vim-config

  • Loading branch information...
commit accfc4cba17a03f4a13bf7ea36038fe966716489 2 parents c17923e + 82dffc6
Derek Wyatt authored
Showing with 47 additions and 30 deletions.
  1. +3 −0  ftplugin/tex.vim
  2. +36 −30 vimrc
  3. +8 −0 xpt-personal/ftplugin/tex/tex.xpt.vim
View
3  ftplugin/tex.vim
@@ -5,6 +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 ... \\ldots
View
66 vimrc
@@ -709,36 +709,42 @@ augroup END
" Fix constant spelling mistakes
"-----------------------------------------------------------------------------
-iab teh the
-iab Teh The
-iab taht that
-iab Taht That
-iab alos also
-iab Alos Also
-iab aslo also
-iab Aslo Also
-iab becuase because
-iab Becuase Because
-iab bianry binary
-iab Bianry Binary
-iab bianries binaries
-iab Bianries Binaries
-iab charcter character
-iab Charcter Character
-iab charcters characters
-iab Charcters Characters
-iab exmaple example
-iab Exmaple Example
-iab exmaples examples
-iab Exmaples Examples
-iab shoudl should
-iab Shoudl Should
-iab seperate separate
-iab Seperate Separate
-iab fone phone
-iab Fone Phone
-iab Seureth Suereth
-iab seureth suereth
+iab Acheive Achieve
+iab acheive achieve
+iab Alos Also
+iab alos also
+iab Aslo Also
+iab aslo also
+iab Becuase Because
+iab becuase because
+iab Bianries Binaries
+iab bianries binaries
+iab Bianry Binary
+iab bianry binary
+iab Charcter Character
+iab charcter character
+iab Charcters Characters
+iab charcters characters
+iab Exmaple Example
+iab exmaple example
+iab Exmaples Examples
+iab exmaples examples
+iab Fone Phone
+iab fone phone
+iab Lifecycle Life-cycle
+iab lifecycle life-cycle
+iab Lifecycles Life-cycles
+iab lifecycles life-cycles
+iab Seperate Separate
+iab seperate separate
+iab Seureth Suereth
+iab seureth suereth
+iab Shoudl Should
+iab shoudl should
+iab Taht That
+iab taht that
+iab Teh The
+iab teh the
"-----------------------------------------------------------------------------
" Set up the window colors and size
View
8 xpt-personal/ftplugin/tex/tex.xpt.vim
@@ -104,6 +104,14 @@ XPT figure hint=\\begin{figure*}...\\end{figure*}
\label{fig:`name^S(SV('\([a-z]\)\([A-Z]\)', '\1_\l\2', 'g'), '[A-Z]', '\l&', 'g')^}
\end{figure*}
+XPT image hint=\\begin{figure*}...\\end{figure*}
+\begin{figure*}[h]
+\centering
+\includegraphics[scale=2.0]{IMAGES_DIR/`name^.png}
+\caption{`cursor^}
+\label{fig:`name^S(SV('\([a-z]\)\([A-Z]\)', '\1_\l\2', 'g'), '[A-Z]', '\l&', 'g')^}
+\end{figure*}
+
XPT eqnarray hint=\\begin{eqnarray*}...\\end{eqnarray*}
\begin{eqnarray*}
`cursor^
Please sign in to comment.
Something went wrong with that request. Please try again.