Permalink
Browse files

Simple changes

  • Loading branch information...
1 parent 6ec2440 commit c17923ec25f6a17336620780c35f84c60753c06d Derek Wyatt committed May 2, 2012
Showing with 37 additions and 12 deletions.
  1. +0 −3 vimrc
  2. +24 −0 xpt-personal/ftplugin/mail/mail.xpt.vim
  3. +13 −9 xpt-personal/ftplugin/scala/scala.xpt.vim
View
3 vimrc
@@ -125,9 +125,6 @@ set key=
" Make the command-line completion better
set wildmenu
-" Make it easier to complete buffers, open files, etc...
-set wildignorecase
-
" Same as default except that I remove the 'u' option
set complete=.,w,b,t
@@ -0,0 +1,24 @@
+XPTemplate priority=personal
+
+XPTinclude
+ \ _common/personal
+
+XPT href wrap=link hint=\\<a\ href...
+<a href="http://`link^">`title^</a>
+
+XPT p wrap=paragraph hint=<p>...</p>
+<p>`paragraph^</p>
+
+XPT i wrap=phrase hint=<i>...</i>
+<i>`phrase^</i>
+
+XPT b wrap=phrase hint=<b>...</b>
+<b>`phrase^</b>
+
+XPT t wrap=phrase hint=<sometag>...</sometag>
+<`tag^>`phrase^</`tag^>
+
+XPT pre hint=<pre\ class="brush:...">
+<pre class="brush:`scala^">
+`cursor^
+</pre>
@@ -133,6 +133,19 @@ case object `objectName^
XPT case hint=Creates\ a\ case\ statement
case `matchAgainst^ =>
+XPT specfile hint=Creates\ a\ new\ Specs2\ test\ file
+`getPackageLine()^
+
+import org.specs2.mutable._
+
+class `classname()^ extends Specification {
+ "`classNameFromSpec()^" should { //{1
+ "`spec^" in { //{2
+ `cursor^
+ } //}2
+ } //}1
+}
+
XPT wrapin wrap=code hint=Wraps\ in\ a\ block
`prefix^ {
`code^
@@ -144,15 +157,6 @@ XPT match hint=Creates\ a\ pattern\ matching\ sequence
`...^
}
-XPT specfile hint=Creates\ a\ new\ specs2\ file
-import org.specs2.mutable._
-
-class `TestClass^Spec extends Specification {
- "`TestClass^" should { //{1
- `cursor^
- } //}1
-}
-
XPT spec hint=Creates\ a\ new\ specs2\ test
"`spec^" in { //{2
`cursor^

0 comments on commit c17923e

Please sign in to comment.