Permalink
Browse files

Added snippets, workaround for ruby-electric messing with YASnippet

  • Loading branch information...
1 parent bdeaa8e commit d5bde2c5e7e5fe70fcc107317a3c914ea304dcea @julienXX committed Jun 19, 2012
Showing with 1,702 additions and 0 deletions.
  1. +15 −0 packages.el
  2. +53 −0 snippets/README.markdown
  3. +7 −0 snippets/clojure-mode/ns
  4. +4 −0 snippets/css-mode/bg
  5. +4 −0 snippets/css-mode/bgc
  6. +4 −0 snippets/css-mode/bor
  7. +4 −0 snippets/css-mode/bor.direction
  8. +4 −0 snippets/css-mode/cl
  9. +7 −0 snippets/css-mode/cls
  10. +4 −0 snippets/css-mode/col
  11. +4 −0 snippets/css-mode/disp
  12. +4 −0 snippets/css-mode/ff
  13. +4 −0 snippets/css-mode/fl
  14. +4 −0 snippets/css-mode/fs
  15. +4 −0 snippets/css-mode/fw
  16. +4 −0 snippets/css-mode/h
  17. +7 −0 snippets/css-mode/id
  18. +4 −0 snippets/css-mode/lh
  19. +4 −0 snippets/css-mode/mar.different
  20. +4 −0 snippets/css-mode/mar.direction
  21. +4 −0 snippets/css-mode/mar.same
  22. +4 −0 snippets/css-mode/pad.different
  23. +4 −0 snippets/css-mode/pad.direction
  24. +4 −0 snippets/css-mode/pad.same
  25. +4 −0 snippets/css-mode/pos
  26. +4 −0 snippets/css-mode/ta
  27. +4 −0 snippets/css-mode/td
  28. +4 −0 snippets/css-mode/va
  29. +4 −0 snippets/css-mode/w
  30. +4 −0 snippets/emacs-lisp-mode/a
  31. +4 −0 snippets/emacs-lisp-mode/atl
  32. +4 −0 snippets/emacs-lisp-mode/beg
  33. +4 −0 snippets/emacs-lisp-mode/c
  34. +4 −0 snippets/emacs-lisp-mode/car
  35. +10 −0 snippets/emacs-lisp-mode/cc
  36. +4 −0 snippets/emacs-lisp-mode/cdr
  37. +9 −0 snippets/emacs-lisp-mode/cond
  38. +7 −0 snippets/emacs-lisp-mode/def
  39. +5 −0 snippets/emacs-lisp-mode/defc
  40. +7 −0 snippets/emacs-lisp-mode/defm
  41. +5 −0 snippets/emacs-lisp-mode/defv
  42. +6 −0 snippets/emacs-lisp-mode/dl
  43. +4 −0 snippets/emacs-lisp-mode/e
  44. +4 −0 snippets/emacs-lisp-mode/end
  45. +4 −0 snippets/emacs-lisp-mode/er
  46. +7 −0 snippets/emacs-lisp-mode/ert
  47. +4 −0 snippets/emacs-lisp-mode/gc
  48. +4 −0 snippets/emacs-lisp-mode/go
  49. +7 −0 snippets/emacs-lisp-mode/hook
  50. +6 −0 snippets/emacs-lisp-mode/if
  51. +4 −0 snippets/emacs-lisp-mode/ins
  52. +4 −0 snippets/emacs-lisp-mode/int
  53. +6 −0 snippets/emacs-lisp-mode/let
  54. +6 −0 snippets/emacs-lisp-mode/lm
  55. +4 −0 snippets/emacs-lisp-mode/load
  56. +4 −0 snippets/emacs-lisp-mode/m
  57. +8 −0 snippets/emacs-lisp-mode/map
  58. +7 −0 snippets/emacs-lisp-mode/maph
  59. +4 −0 snippets/emacs-lisp-mode/max
  60. +4 −0 snippets/emacs-lisp-mode/mes
  61. +4 −0 snippets/emacs-lisp-mode/min
  62. +67 −0 snippets/emacs-lisp-mode/mm
  63. +4 −0 snippets/emacs-lisp-mode/o
  64. +4 −0 snippets/emacs-lisp-mode/p
  65. +4 −0 snippets/emacs-lisp-mode/pr
  66. +4 −0 snippets/emacs-lisp-mode/pro
  67. +4 −0 snippets/emacs-lisp-mode/req
  68. +6 −0 snippets/emacs-lisp-mode/se
  69. +4 −0 snippets/emacs-lisp-mode/set
  70. +6 −0 snippets/emacs-lisp-mode/sh
  71. +7 −0 snippets/emacs-lisp-mode/she
  72. +4 −0 snippets/emacs-lisp-mode/shn
  73. +4 −0 snippets/emacs-lisp-mode/sm
  74. +7 −0 snippets/emacs-lisp-mode/step
  75. +6 −0 snippets/emacs-lisp-mode/unl
  76. +6 −0 snippets/emacs-lisp-mode/wh
  77. +6 −0 snippets/emacs-lisp-mode/when
  78. +5 −0 snippets/feature-mode/a
  79. +5 −0 snippets/feature-mode/b
  80. +5 −0 snippets/feature-mode/bg
  81. +9 −0 snippets/feature-mode/fe
  82. +5 −0 snippets/feature-mode/g
  83. +7 −0 snippets/feature-mode/ps
  84. +5 −0 snippets/feature-mode/sce
  85. +4 −0 snippets/feature-mode/show
  86. +5 −0 snippets/feature-mode/t
  87. +5 −0 snippets/feature-mode/tbl
  88. +5 −0 snippets/feature-mode/w
  89. +4 −0 snippets/haml-mode/:
  90. +4 −0 snippets/haml-mode/b
  91. +5 −0 snippets/haml-mode/body
  92. +4 −0 snippets/haml-mode/br
  93. +4 −0 snippets/haml-mode/cls
  94. +5 −0 snippets/haml-mode/code
  95. +5 −0 snippets/haml-mode/conf
  96. +5 −0 snippets/haml-mode/div
  97. +5 −0 snippets/haml-mode/do
  98. +5 −0 snippets/haml-mode/each
  99. +4 −0 snippets/haml-mode/el
  100. +5 −0 snippets/haml-mode/for
  101. +5 −0 snippets/haml-mode/form.for
  102. +9 −0 snippets/haml-mode/form.semantic
  103. +7 −0 snippets/haml-mode/form.simple
  104. +4 −0 snippets/haml-mode/h1
  105. +4 −0 snippets/haml-mode/h2
  106. +4 −0 snippets/haml-mode/h3
  107. +4 −0 snippets/haml-mode/h4
  108. +4 −0 snippets/haml-mode/h5
  109. +5 −0 snippets/haml-mode/head
  110. +4 −0 snippets/haml-mode/hr
  111. +5 −0 snippets/haml-mode/html
  112. +4 −0 snippets/haml-mode/i
  113. +4 −0 snippets/haml-mode/id
  114. +5 −0 snippets/haml-mode/if
  115. +4 −0 snippets/haml-mode/img
  116. +4 −0 snippets/haml-mode/jit
  117. +4 −0 snippets/haml-mode/li
  118. +4 −0 snippets/haml-mode/lorem.1
  119. +6 −0 snippets/haml-mode/lorem.2
  120. +8 −0 snippets/haml-mode/lorem.3
  121. +10 −0 snippets/haml-mode/lorem.4
  122. +12 −0 snippets/haml-mode/lorem.5
  123. +4 −0 snippets/haml-mode/lt
  124. +4 −0 snippets/haml-mode/p
  125. +5 −0 snippets/haml-mode/pre
  126. +4 −0 snippets/haml-mode/rp
  127. +5 −0 snippets/haml-mode/script
  128. +4 −0 snippets/haml-mode/span
  129. +4 −0 snippets/haml-mode/stl
  130. +5 −0 snippets/haml-mode/style
  131. +4 −0 snippets/haml-mode/t
  132. +5 −0 snippets/haml-mode/table
  133. +5 −0 snippets/haml-mode/tbody
  134. +4 −0 snippets/haml-mode/td
  135. +4 −0 snippets/haml-mode/th
  136. +5 −0 snippets/haml-mode/thead
  137. +4 −0 snippets/haml-mode/title
  138. +5 −0 snippets/haml-mode/tr
  139. +5 −0 snippets/haml-mode/ul
  140. +5 −0 snippets/haml-mode/unl
  141. +4 −0 snippets/haml-mode/val
  142. +5 −0 snippets/haml-mode/wo
  143. +4 −0 snippets/haml-mode/y
  144. +4 −0 snippets/haskell-mode/d
  145. +4 −0 snippets/haskell-mode/u
  146. +4 −0 snippets/html-mode/a
  147. +4 −0 snippets/html-mode/b
  148. +6 −0 snippets/html-mode/body
  149. +4 −0 snippets/html-mode/br
  150. +4 −0 snippets/html-mode/cls
  151. +6 −0 snippets/html-mode/code
  152. +6 −0 snippets/html-mode/div
  153. +6 −0 snippets/html-mode/form
  154. +4 −0 snippets/html-mode/h1
  155. +4 −0 snippets/html-mode/h2
  156. +4 −0 snippets/html-mode/h3
  157. +4 −0 snippets/html-mode/h4
  158. +4 −0 snippets/html-mode/h5
  159. +6 −0 snippets/html-mode/head
  160. +4 −0 snippets/html-mode/hr
  161. +6 −0 snippets/html-mode/html
  162. +4 −0 snippets/html-mode/i
  163. +4 −0 snippets/html-mode/id
  164. +4 −0 snippets/html-mode/img
  165. +4 −0 snippets/html-mode/li
  166. +4 −0 snippets/html-mode/lorem.1
  167. +6 −0 snippets/html-mode/lorem.2
  168. +8 −0 snippets/html-mode/lorem.3
  169. +10 −0 snippets/html-mode/lorem.4
  170. +12 −0 snippets/html-mode/lorem.5
  171. +4 −0 snippets/html-mode/n
  172. +4 −0 snippets/html-mode/p
  173. +6 −0 snippets/html-mode/pre
  174. +4 −0 snippets/html-mode/rhtml-mode/:
  175. +4 −0 snippets/html-mode/rhtml-mode/c
  176. +6 −0 snippets/html-mode/rhtml-mode/conf
  177. +6 −0 snippets/html-mode/rhtml-mode/do
  178. +4 −0 snippets/html-mode/rhtml-mode/e
  179. +6 −0 snippets/html-mode/rhtml-mode/each
  180. +4 −0 snippets/html-mode/rhtml-mode/el
  181. +4 −0 snippets/html-mode/rhtml-mode/elif
  182. +4 −0 snippets/html-mode/rhtml-mode/else
  183. +4 −0 snippets/html-mode/rhtml-mode/end
  184. +6 −0 snippets/html-mode/rhtml-mode/for
  185. +6 −0 snippets/html-mode/rhtml-mode/form.for
  186. +13 −0 snippets/html-mode/rhtml-mode/form.semantic
  187. +8 −0 snippets/html-mode/rhtml-mode/form.simple
  188. +6 −0 snippets/html-mode/rhtml-mode/form.tag
  189. +6 −0 snippets/html-mode/rhtml-mode/if
  190. +4 −0 snippets/html-mode/rhtml-mode/img
  191. +8 −0 snippets/html-mode/rhtml-mode/log
  192. +4 −0 snippets/html-mode/rhtml-mode/lt
  193. +4 −0 snippets/html-mode/rhtml-mode/r
  194. +4 −0 snippets/html-mode/rhtml-mode/rp
  195. +4 −0 snippets/html-mode/rhtml-mode/rr
  196. +4 −0 snippets/html-mode/rhtml-mode/t
  197. +6 −0 snippets/html-mode/rhtml-mode/unl
  198. +4 −0 snippets/html-mode/rhtml-mode/y
  199. +6 −0 snippets/html-mode/script
  200. +4 −0 snippets/html-mode/span
  201. +4 −0 snippets/html-mode/stl
  202. +6 −0 snippets/html-mode/style
  203. +6 −0 snippets/html-mode/table
  204. +6 −0 snippets/html-mode/tbody
  205. +4 −0 snippets/html-mode/td
  206. +6 −0 snippets/html-mode/tfoot
  207. +4 −0 snippets/html-mode/th
  208. +6 −0 snippets/html-mode/thead
  209. +4 −0 snippets/html-mode/title
  210. +6 −0 snippets/html-mode/tr
  211. +6 −0 snippets/html-mode/ul
  212. +4 −0 snippets/html-mode/utf
  213. +4 −0 snippets/html-mode/val
  214. +4 −0 snippets/java-mode/ass.equals
  215. +4 −0 snippets/java-mode/ass.false
  216. +4 −0 snippets/java-mode/ass.not_null
  217. +4 −0 snippets/java-mode/ass.null
  218. +4 −0 snippets/java-mode/ass.true
  219. +8 −0 snippets/java-mode/author
  220. +12 −0 snippets/java-mode/cls
  221. +6 −0 snippets/java-mode/def
  222. +7 −0 snippets/java-mode/el
  223. +6 −0 snippets/java-mode/elif
  224. +4 −0 snippets/java-mode/err
  225. +4 −0 snippets/java-mode/exc.throw_new_exception
  226. +4 −0 snippets/java-mode/file
  227. +6 −0 snippets/java-mode/for
  228. +6 −0 snippets/java-mode/for.foreach
  229. +6 −0 snippets/java-mode/if
  230. +10 −0 snippets/java-mode/inf
  231. +6 −0 snippets/java-mode/init
  232. +7 −0 snippets/java-mode/ins
  233. +4 −0 snippets/java-mode/li
  234. +6 −0 snippets/java-mode/main
  235. +4 −0 snippets/java-mode/map
  236. +4 −0 snippets/java-mode/out
  237. +4 −0 snippets/java-mode/re
  238. +11 −0 snippets/java-mode/sc
  239. +4 −0 snippets/java-mode/set
  240. +32 −0 snippets/java-mode/st
  241. +9 −0 snippets/java-mode/test.after
  242. +9 −0 snippets/java-mode/test.before
  243. +9 −0 snippets/java-mode/test.test
  244. +9 −0 snippets/java-mode/try
  245. +6 −0 snippets/java-mode/wh.while
  246. +7 −0 snippets/java-mode/wh.while_true
  247. +4 −0 snippets/js-mode/al
  248. +9 −0 snippets/js-mode/author
  249. +8 −0 snippets/js-mode/class
  250. +6 −0 snippets/js-mode/com
  251. +6 −0 snippets/js-mode/def
  252. +6 −0 snippets/js-mode/each
  253. +6 −0 snippets/js-mode/el
  254. +6 −0 snippets/js-mode/ev.add
  255. +4 −0 snippets/js-mode/ev.fire
  256. +6 −0 snippets/js-mode/f
  257. +6 −0 snippets/js-mode/for
  258. +6 −0 snippets/js-mode/if
  259. +6 −0 snippets/js-mode/init
  260. +4 −0 snippets/js-mode/log
  261. +8 −0 snippets/js-mode/req.html
  262. +8 −0 snippets/js-mode/req.json
  263. +5 −0 snippets/nxml-mode/xml
  264. +4 −0 snippets/ruby-mode/:
  265. +4 −0 snippets/ruby-mode/af
  266. +4 −0 snippets/ruby-mode/ass.assert
  267. +4 −0 snippets/ruby-mode/ass.contains
  268. +4 −0 snippets/ruby-mode/ass.equal
  269. +4 −0 snippets/ruby-mode/ass.not_contain
  270. +6 −0 snippets/ruby-mode/ass.raises
  271. +4 −0 snippets/ruby-mode/ass.same_elements
  272. +4 −0 snippets/ruby-mode/attr
  273. +7 −0 snippets/ruby-mode/author
  274. +4 −0 snippets/ruby-mode/bf
  275. +4 −0 snippets/ruby-mode/bt
  276. +13 −0 snippets/ruby-mode/cls
  277. +4 −0 snippets/ruby-mode/col.no_block
  278. +4 −0 snippets/ruby-mode/col.with_block
  279. +6 −0 snippets/ruby-mode/ct
  280. +4 −0 snippets/ruby-mode/cu
  281. +6 −0 snippets/ruby-mode/def
  282. +6 −0 snippets/ruby-mode/defs
  283. +6 −0 snippets/ruby-mode/dfac
  284. +6 −0 snippets/ruby-mode/do
  285. +6 −0 snippets/ruby-mode/ds
  286. +4 −0 snippets/ruby-mode/e
  287. +6 −0 snippets/ruby-mode/each.do_end
  288. +4 −0 snippets/ruby-mode/each.inline
  289. +4 −0 snippets/ruby-mode/el
  290. +4 −0 snippets/ruby-mode/elif
  291. +4 −0 snippets/ruby-mode/fac
  292. +4 −0 snippets/ruby-mode/fil.after_filter
  293. +4 −0 snippets/ruby-mode/fil.before_filter
  294. +4 −0 snippets/ruby-mode/fl
  295. +6 −0 snippets/ruby-mode/for
  296. +4 −0 snippets/ruby-mode/gem
  297. +4 −0 snippets/ruby-mode/habtm
  298. +4 −0 snippets/ruby-mode/hm
  299. +4 −0 snippets/ruby-mode/ho
  300. +6 −0 snippets/ruby-mode/if
Sorry, we could not display the entire diff because too many files (391) changed.
View
15 packages.el
@@ -25,6 +25,9 @@
;; yasnippet
(require 'yasnippet)
+(require 'yasnippet-bundle)
+(setq yas/root-directory "~/.emacs.d/snippets")
+(yas/load-directory yas/root-directory)
(yas/global-mode 1)
;; automatic end insertion
@@ -103,3 +106,15 @@
;; Ruby-electric
(require 'ruby-electric)
+
+;; Workaround for ruby-electric messing with yasnippet
+(defun yas/advise-indent-function (function-symbol)
+ (eval `(defadvice ,function-symbol (around yas/try-expand-first activate)
+ ,(format
+ "Try to expand a snippet before point, then call `%s' as usual"
+ function-symbol)
+ (let ((yas/fallback-behavior nil))
+ (unless (and (interactive-p)
+ (yas/expand))
+ ad-do-it)))))
+(yas/advise-indent-function 'ruby-indent-line)
View
53 snippets/README.markdown
@@ -0,0 +1,53 @@
+# YaSnippets snippets collection.
+
+## About
+
+The aim to to have a comprehensive collection of snippets in one place.
+these snippets have been collected from many people and I will try to
+reference them all here. At this time this is very much an in progress
+project.
+
+## Contributors
+
+* [Bjørn Arild Mæland](http://github.com/Chrononaut)
+* [Jean-Sébastien Ney](http://github.com/jney)
+* [John Andrews](http://github.com/jxa)
+* [Johan Andersson](http://github.com/rejeep)
+* [Andrew Myers](http://github.com/icarus127)
+* [Jürgen Hötzel](https://github.com/juergenhoetzel)
+
+## ruby-mode
+[yasnippet](http://code.google.com/p/yasnippet/ "yasnippet - Google Code").
+The collection also contains snippets for major Ruby frameworks like Rails
+and RSpec.
+
+The Rails snippets were originally borrowed from
+[mknittig/yasnippet-rails](http://github.com/eschulte/yasnippets-rails/tree).
+
+The RSpec snippets require that RSpec files are edited in a separate
+Emacs mode. I recommend using
+[rspec-mode.el](http://github.com/Chrononaut/rspec-mode.el/tree/master).
+The RSpec snippets were originally borrowed from
+[gary/yasnippets-rspec](http://github.com/gary/yasnippets-rspec/tree/master).
+
+And much of the credits should naturally go to the yasnippet-rails and
+yasnippet-rspec authors.
+
+Thanks to Jeff Wheeler for his work on the snippet_copier.py script!
+
+## Yasnippets cloned from [Johan Andersson](http://github.com/rejeep)
+A large portion of these snippets came from Johan Andersson originally but
+have been (or are being) heavily re-organized, he contributed snippets for
+the following modes.
+
+ * css-mode
+ * emacs-lisp-mode
+ * haml-mode
+ * html-mode
+ * java-mode
+ * javascript-mode
+ * latex-mode
+ * ruby-mode
+ * sass-mode
+ * sh-mode
+ * sql-interactive-mode
View
7 snippets/clojure-mode/ns
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+#name : Namespace Macro
+# --
+(ns ^{:doc "$1"
+ :author "`user-full-name`"}
+ `(subst-char-in-string ?/ ?.
+ (subst-char-in-string ?_ ?- (replace-regexp-in-string ".*src/\\\\(.*\\\\).clj" "\\\\1" (buffer-file-name)))))`)
View
4 snippets/css-mode/bg
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : background
+# --
+background: $0;
View
4 snippets/css-mode/bgc
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : background-color
+# --
+background-color: $1;
View
4 snippets/css-mode/bor
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : border
+# --
+border: ${1:1}px ${2:color} ${3:solid};
View
4 snippets/css-mode/bor.direction
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : direction
+# --
+border-${1:$$(yas/choose-value '("top" "right" "bottom" "left"))}: ${2:1}px ${3:color} ${4:solid};
View
4 snippets/css-mode/cl
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : clear
+# --
+clear: ${1:$$(yas/choose-value '("both" "left" "right"))};
View
7 snippets/css-mode/cls
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+#name : Class block
+#key: .
+# --
+.${1:class} {
+ $0
+}
View
4 snippets/css-mode/col
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : color
+# --
+color: #$1;
View
4 snippets/css-mode/disp
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : Display - block
+# --
+display: ${1:$$(yas/choose-value '("block" "none" "inline"))};
View
4 snippets/css-mode/ff
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : font-family
+# --
+font-family: $1;
View
4 snippets/css-mode/fl
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : float
+# --
+float: ${1:$$(yas/choose-value '("left" "right" "none"))};
View
4 snippets/css-mode/fs
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : font-size
+# --
+font-size: $1px;
View
4 snippets/css-mode/fw
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : font-weight
+# --
+font-weight: $1;
View
4 snippets/css-mode/h
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : height
+# --
+height: $1px;
View
7 snippets/css-mode/id
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+#name : Id block
+#key : #
+# --
+#${1:id} {
+ $0
+}
View
4 snippets/css-mode/lh
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : line-height
+# --
+line-height: $1px;
View
4 snippets/css-mode/mar.different
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : different
+# --
+margin: ${1:top}px ${2:right}px ${3:bottom}px ${4:left}px;
View
4 snippets/css-mode/mar.direction
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : direction
+# --
+margin-${1:$$(yas/choose-value '("top" "right" "bottom" "left"))}: $2px;
View
4 snippets/css-mode/mar.same
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : same
+# --
+margin: $1px;
View
4 snippets/css-mode/pad.different
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : different
+# --
+padding: ${1:top}px ${2:right}px ${3:bottom}px ${4:left}px;
View
4 snippets/css-mode/pad.direction
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : direction
+# --
+padding-${1:$$(yas/choose-value '("top" "right" "bottom" "left"))}: $2px;
View
4 snippets/css-mode/pad.same
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : same
+# --
+padding: $1px;
View
4 snippets/css-mode/pos
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name: position
+# --
+position: ${1:$$(yas/choose-value '("absolute" "relative" "static"))};
View
4 snippets/css-mode/ta
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : text-align
+# --
+text-align: ${1:$$(yas/choose-value '("center" "left" "right"))};
View
4 snippets/css-mode/td
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : text-decoration
+# --
+text-decoration: $1;
View
4 snippets/css-mode/va
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : vertical-align
+# --
+vertical-align: $1;
View
4 snippets/css-mode/w
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : width
+# --
+width: $1px;
View
4 snippets/emacs-lisp-mode/a
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : and
+# --
+(and $0)
View
4 snippets/emacs-lisp-mode/atl
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : add-to-list
+# --
+(add-to-list '${1:list} ${2:item})
View
4 snippets/emacs-lisp-mode/beg
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : line-beginning-position
+# --
+(line-beginning-position)
View
4 snippets/emacs-lisp-mode/c
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : concat
+# --
+(concat $0)
View
4 snippets/emacs-lisp-mode/car
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : car
+# --
+(car ${1:list})
View
10 snippets/emacs-lisp-mode/cc
@@ -0,0 +1,10 @@
+# -*- mode: snippet -*-
+#name : condition-case
+# --
+(condition-case err
+ (progn
+ $0
+ )
+ (error
+
+ ))
View
4 snippets/emacs-lisp-mode/cdr
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : cdr
+# --
+(cdr ${1:list})
View
9 snippets/emacs-lisp-mode/cond
@@ -0,0 +1,9 @@
+# -*- mode: snippet -*-
+#name : cond
+# --
+(cond (${1:condition}
+ $0
+ )
+ (t
+
+ ))
View
7 snippets/emacs-lisp-mode/def
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+#name : defun
+# --
+(defun ${1:name} ($2)
+ ""
+ $0
+ )
View
5 snippets/emacs-lisp-mode/defc
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name : defconst
+# --
+(defconst ${1:name} ${2:value}
+ "$0")
View
7 snippets/emacs-lisp-mode/defm
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+#name : defmacro
+# --
+(defmacro ${1:name} ($2)
+ ""
+ $0
+ )
View
5 snippets/emacs-lisp-mode/defv
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name : defvar ...
+# --
+(defvar ${1:name} ${2:value}
+ "$0")
View
6 snippets/emacs-lisp-mode/dl
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+#name : dolist
+# --
+(dolist (${1:item} ${2:list})
+ $0
+ )
View
4 snippets/emacs-lisp-mode/e
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : equal
+# --
+(equal $0)
View
4 snippets/emacs-lisp-mode/end
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : line-end-position
+# --
+(line-end-position)
View
4 snippets/emacs-lisp-mode/er
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : error
+# --
+(error "$0")
View
7 snippets/emacs-lisp-mode/ert
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: ert-deftest
+# --
+(ert-deftest ${1:name} ()
+ ""
+ $0
+ )
View
4 snippets/emacs-lisp-mode/gc
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : goto-char
+# --
+(goto-char $0)
View
4 snippets/emacs-lisp-mode/go
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : goto-char
+# --
+(goto-char $0)
View
7 snippets/emacs-lisp-mode/hook
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+#name : add-hook
+# --
+(add-hook '${1:name}
+ (lambda ()
+ $0
+ ))
View
6 snippets/emacs-lisp-mode/if
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+#name : if
+# --
+(if ${1:condition}
+ $0
+ )
View
4 snippets/emacs-lisp-mode/ins
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : insert
+# --
+(insert $0)
View
4 snippets/emacs-lisp-mode/int
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : interactive
+# --
+(interactive$1)
View
6 snippets/emacs-lisp-mode/let
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+#name : let
+# --
+(let ((${1:name})$3)
+ $0
+ )
View
6 snippets/emacs-lisp-mode/lm
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+#name : lambda
+# --
+(lambda ()
+ $0
+ )
View
4 snippets/emacs-lisp-mode/load
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : load
+# --
+(load ${1:file})
View
4 snippets/emacs-lisp-mode/m
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : mark
+# --
+(mark)
View
8 snippets/emacs-lisp-mode/map
@@ -0,0 +1,8 @@
+# -*- mode: snippet -*-
+#name : mapc
+# --
+(${1:$$(yas/choose-value '("mapc" "mapcar"))}
+ (lambda (${3:item})
+ $0
+ )
+ ${2:list})
View
7 snippets/emacs-lisp-mode/maph
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+#name : maphash
+# --
+(maphash
+ (lambda (${2:key} ${3:value})
+ $0)
+ ${1:hash})
View
4 snippets/emacs-lisp-mode/max
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : point-max
+# --
+(point-max)
View
4 snippets/emacs-lisp-mode/mes
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : message
+# --
+(message $0)
View
4 snippets/emacs-lisp-mode/min
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : point-min
+# --
+(point-min)
View
67 snippets/emacs-lisp-mode/mm
@@ -0,0 +1,67 @@
+# -*- mode: snippet -*-
+#name : mm
+# --
+;;; ${1:mode-name}.el --- TODO
+
+;; Copyright (C) 2012 Johan Andersson
+
+;; Author: Johan Andersson <johan.rejeep@gmail.com>
+;; Maintainer: Johan Andersson <johan.rejeep@gmail.com>
+;; Version: 0.0.1
+;; Keywords: speed, convenience
+;; URL: http://github.com/rejeep/$1
+
+;; This file is NOT part of GNU Emacs.
+
+;;; License:
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 3, or (at your option)
+;; any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs; see the file COPYING. If not, write to the
+;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
+
+;;; Commentary:
+
+;;; Code:
+
+(defvar $1-mode-map (make-sparse-keymap)
+ "Keymap for $1-mode.")
+
+;;;###autoload
+(define-minor-mode $1-mode
+ "TODO"
+ :init-value nil
+ :lighter " TODO"
+ :keymap $1-mode-map)
+
+;;;###autoload
+(defun turn-on-$1-mode ()
+ "Turn on $1-mode"
+ (interactive)
+ ($1-mode +1))
+
+;;;###autoload
+(defun turn-off-$1-mode ()
+ "Turn off $1-mode"
+ (interactive)
+ ($1-mode -1))
+
+;;;###autoload
+(define-globalized-minor-mode $1-global-mode
+ $1-mode
+ turn-on-$1-mode)
+
+
+(provide '$1)
+
+;;; $1.el ends here
View
4 snippets/emacs-lisp-mode/o
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : or
+# --
+(or $0)
View
4 snippets/emacs-lisp-mode/p
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : point
+# --
+(point)
View
4 snippets/emacs-lisp-mode/pr
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : print
+# --
+(print $0)
View
4 snippets/emacs-lisp-mode/pro
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : provide
+# --
+(provide '${1:library})
View
4 snippets/emacs-lisp-mode/req
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : require
+# --
+(require '${1:library})
View
6 snippets/emacs-lisp-mode/se
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+#name : save-excursion
+# --
+(save-excursion
+ $0
+ )
View
4 snippets/emacs-lisp-mode/set
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : setq
+# --
+(setq ${1:name} ${2:value})
View
6 snippets/emacs-lisp-mode/sh
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+#name : should
+# --
+(should
+ $0
+ )
View
7 snippets/emacs-lisp-mode/she
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+#name : should equal
+# --
+(should
+ (equal
+ $0
+ ))
View
4 snippets/emacs-lisp-mode/shn
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : should-not
+# --
+(should-not $0)
View
4 snippets/emacs-lisp-mode/sm
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : string-match
+# --
+(string-match ${1:regex} ${2:string})
View
7 snippets/emacs-lisp-mode/step
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+#name : Ecukes step
+# --
+(${1:$$(yas/choose-value '("Given" "When" "Then" "And" "But"))} "${2:regex}"
+ (lambda ($3)
+ $0
+ ))
View
6 snippets/emacs-lisp-mode/unl
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+#name : unless
+# --
+(unless ${1:condition}
+ $0
+ )
View
6 snippets/emacs-lisp-mode/wh
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+#name : while
+# --
+(while ${1:condition}
+ $0
+ )
View
6 snippets/emacs-lisp-mode/when
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+#name : when
+# --
+(when ${1:condition}
+ $0
+ )
View
5 snippets/feature-mode/a
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name: And
+# --
+And ${1:something else}
+$0
View
5 snippets/feature-mode/b
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name: But
+# --
+But ${1:something else}
+$0
View
5 snippets/feature-mode/bg
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name: Background
+# --
+Background:
+ $0
View
9 snippets/feature-mode/fe
@@ -0,0 +1,9 @@
+# -*- mode: snippet -*-
+#name: Feature
+# --
+Feature: ${1:Name}
+ In order to ${2:get some business value}
+ As a ${3:user}
+ ${4:Role} will need ${5:this sweet new feature}
+
+ $0
View
5 snippets/feature-mode/g
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name: Given
+# --
+Given ${1:a known starting condition}
+$0
View
7 snippets/feature-mode/ps
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+#name: Py String
+# --
+Given ${1:the following text}
+ """
+ $0
+ """
View
5 snippets/feature-mode/sce
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name: Scenario
+# --
+Scenario: ${1:name}
+ $0
View
4 snippets/feature-mode/show
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name: Then show me the page
+# --
+Then show me the page
View
5 snippets/feature-mode/t
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name: Then
+# --
+Then ${1:some expected outcome}
+$0
View
5 snippets/feature-mode/tbl
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name: Table
+# --
+Given ${1:the following}
+ | $0 |
View
5 snippets/feature-mode/w
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name: When
+# --
+When ${1:some action}
+$0
View
4 snippets/haml-mode/:
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : :symbol =>
+# --
+:$1 =>
View
4 snippets/haml-mode/b
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : b
+# --
+%b $0
View
5 snippets/haml-mode/body
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name : body
+# --
+%body
+ $0
View
4 snippets/haml-mode/br
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : br
+# --
+%br
View
4 snippets/haml-mode/cls
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : class
+# --
+:class => '$0'
View
5 snippets/haml-mode/code
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name : code
+# --
+%code
+ $0
View
5 snippets/haml-mode/conf
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name : content_for
+# --
+- content_for :${1:target} do
+ $0
View
5 snippets/haml-mode/div
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name : div
+# --
+%div
+ $0
View
5 snippets/haml-mode/do
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name : do block
+# --
+- $1 do
+ $0
View
5 snippets/haml-mode/each
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name : each
+# --
+- ${2:collection}.each do |${1:element}|
+ $0
View
4 snippets/haml-mode/el
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : else
+# --
+- else
View
5 snippets/haml-mode/for
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name : for
+# --
+- for ${1:element} in ${2:collection}
+ $0
View
5 snippets/haml-mode/form.for
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name : form_for
+# --
+= form_for ${1:variable} do |f|
+ $0
View
9 snippets/haml-mode/form.semantic
@@ -0,0 +1,9 @@
+# -*- mode: snippet -*-
+#name : semantic
+# --
+= semantic_form_for ${1:variable} do |form|
+ - form.inputs do
+ = form.input :${2:input}
+
+ - form.buttons do
+ = form.commit_button
View
7 snippets/haml-mode/form.simple
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+#name : simple
+# --
+= simple_form_for ${1:object} do |form|
+ = form.input :${2:input}
+
+ = form.button :submit
View
4 snippets/haml-mode/h1
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : h1
+# --
+%h1 $0
View
4 snippets/haml-mode/h2
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : h2
+# --
+%h2 $0
View
4 snippets/haml-mode/h3
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : h3
+# --
+%h3 $0
View
4 snippets/haml-mode/h4
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : h4
+# --
+%h4 $0
View
4 snippets/haml-mode/h5
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : h5
+# --
+%h5 $0
View
5 snippets/haml-mode/head
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name : head
+# --
+%head
+ $0
View
4 snippets/haml-mode/hr
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : hr
+# --
+%hr
View
5 snippets/haml-mode/html
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name : html
+# --
+%html
+ $0
View
4 snippets/haml-mode/i
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : i
+# --
+%i $0
View
4 snippets/haml-mode/id
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : id
+# --
+:id => '$0'
View
5 snippets/haml-mode/if
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name : if
+# --
+- if ${1:condition}
+ $0
View
4 snippets/haml-mode/img
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : image_tag
+# --
+= image_tag '${1:source}'
View
4 snippets/haml-mode/jit
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : javascript_include_tag
+# --
+= javascript_include_tag :$1
View
4 snippets/haml-mode/li
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : li
+# --
+%li $0
View
4 snippets/haml-mode/lorem.1
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : one
+# --
+Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque in tellus. In pharetra consequat augue. In congue. Curabitur pellentesque iaculis eros. Proin magna odio, posuere sed, commodo nec, varius nec, tortor. Fusce ante. Curabitur tincidunt. Duis posuere eleifend justo. Sed pulvinar tortor sed ante. Aenean gravida. Integer at ante. Morbi vitae tortor. Vestibulum aliquet, arcu vitae elementum aliquam, tellus justo pretium dolor, eget molestie tellus dui nec dolor. Mauris sit amet ligula. Morbi sit amet sapien mollis neque ultricies placerat.
View
6 snippets/haml-mode/lorem.2
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+#name : two
+# --
+Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque in tellus. In pharetra consequat augue. In congue. Curabitur pellentesque iaculis eros. Proin magna odio, posuere sed, commodo nec, varius nec, tortor. Fusce ante. Curabitur tincidunt. Duis posuere eleifend justo. Sed pulvinar tortor sed ante. Aenean gravida. Integer at ante. Morbi vitae tortor. Vestibulum aliquet, arcu vitae elementum aliquam, tellus justo pretium dolor, eget molestie tellus dui nec dolor. Mauris sit amet ligula. Morbi sit amet sapien mollis neque ultricies placerat.
+
+Nam commodo eros ac ipsum. Mauris lobortis gravida velit. Mauris a orci ut turpis euismod vehicula. In et est et pede hendrerit pellentesque. Quisque tincidunt consequat dolor. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris imperdiet, neque sit amet varius commodo, nisi enim condimentum est, gravida eleifend velit nisl in pede. Phasellus metus leo, eleifend vitae, aliquet non, vestibulum at, diam. Praesent eget turpis sed ante convallis euismod. Praesent ante. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras dui libero, sodales eu, ornare a, fermentum non, erat. Suspendisse purus elit, suscipit et, lacinia eget, lacinia quis, est. Quisque at pede. Proin a magna. Aliquam tristique ultrices purus. Ut risus dui, facilisis ut, sodales nec, pharetra at, pede. Integer purus felis, ullamcorper vitae, feugiat lobortis, placerat quis, sem.
View
8 snippets/haml-mode/lorem.3
@@ -0,0 +1,8 @@
+# -*- mode: snippet -*-
+#name : three
+# --
+Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque in tellus. In pharetra consequat augue. In congue. Curabitur pellentesque iaculis eros. Proin magna odio, posuere sed, commodo nec, varius nec, tortor. Fusce ante. Curabitur tincidunt. Duis posuere eleifend justo. Sed pulvinar tortor sed ante. Aenean gravida. Integer at ante. Morbi vitae tortor. Vestibulum aliquet, arcu vitae elementum aliquam, tellus justo pretium dolor, eget molestie tellus dui nec dolor. Mauris sit amet ligula. Morbi sit amet sapien mollis neque ultricies placerat.
+
+Nam commodo eros ac ipsum. Mauris lobortis gravida velit. Mauris a orci ut turpis euismod vehicula. In et est et pede hendrerit pellentesque. Quisque tincidunt consequat dolor. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris imperdiet, neque sit amet varius commodo, nisi enim condimentum est, gravida eleifend velit nisl in pede. Phasellus metus leo, eleifend vitae, aliquet non, vestibulum at, diam. Praesent eget turpis sed ante convallis euismod. Praesent ante. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras dui libero, sodales eu, ornare a, fermentum non, erat. Suspendisse purus elit, suscipit et, lacinia eget, lacinia quis, est. Quisque at pede. Proin a magna. Aliquam tristique ultrices purus. Ut risus dui, facilisis ut, sodales nec, pharetra at, pede. Integer purus felis, ullamcorper vitae, feugiat lobortis, placerat quis, sem.
+
+Nulla facilisi. Suspendisse ornare. Ut porta, nisl non egestas suscipit, libero nibh sollicitudin libero, at hendrerit massa odio in felis. Vestibulum ac elit. Praesent vel enim. Aliquam rutrum nibh ornare enim. In mollis, neque a vulputate aliquet, nulla nunc ornare dui, et scelerisque nulla odio eget nunc. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas convallis dolor eget massa. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In hac habitasse platea dictumst. Nam risus tellus, fermentum vitae, faucibus eget, dapibus ut, magna. Maecenas convallis tincidunt ante. Donec quam arcu, dignissim non, condimentum at, feugiat gravida, nisl.
View
10 snippets/haml-mode/lorem.4
@@ -0,0 +1,10 @@
+# -*- mode: snippet -*-
+#name : four
+# --
+Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque in tellus. In pharetra consequat augue. In congue. Curabitur pellentesque iaculis eros. Proin magna odio, posuere sed, commodo nec, varius nec, tortor. Fusce ante. Curabitur tincidunt. Duis posuere eleifend justo. Sed pulvinar tortor sed ante. Aenean gravida. Integer at ante. Morbi vitae tortor. Vestibulum aliquet, arcu vitae elementum aliquam, tellus justo pretium dolor, eget molestie tellus dui nec dolor. Mauris sit amet ligula. Morbi sit amet sapien mollis neque ultricies placerat.
+
+Nam commodo eros ac ipsum. Mauris lobortis gravida velit. Mauris a orci ut turpis euismod vehicula. In et est et pede hendrerit pellentesque. Quisque tincidunt consequat dolor. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris imperdiet, neque sit amet varius commodo, nisi enim condimentum est, gravida eleifend velit nisl in pede. Phasellus metus leo, eleifend vitae, aliquet non, vestibulum at, diam. Praesent eget turpis sed ante convallis euismod. Praesent ante. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras dui libero, sodales eu, ornare a, fermentum non, erat. Suspendisse purus elit, suscipit et, lacinia eget, lacinia quis, est. Quisque at pede. Proin a magna. Aliquam tristique ultrices purus. Ut risus dui, facilisis ut, sodales nec, pharetra at, pede. Integer purus felis, ullamcorper vitae, feugiat lobortis, placerat quis, sem.
+
+Nulla facilisi. Suspendisse ornare. Ut porta, nisl non egestas suscipit, libero nibh sollicitudin libero, at hendrerit massa odio in felis. Vestibulum ac elit. Praesent vel enim. Aliquam rutrum nibh ornare enim. In mollis, neque a vulputate aliquet, nulla nunc ornare dui, et scelerisque nulla odio eget nunc. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas convallis dolor eget massa. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In hac habitasse platea dictumst. Nam risus tellus, fermentum vitae, faucibus eget, dapibus ut, magna. Maecenas convallis tincidunt ante. Donec quam arcu, dignissim non, condimentum at, feugiat gravida, nisl.
+
+In id nisl. Nam eu lectus. Nulla vitae metus. Integer eu arcu. Praesent at lectus ut nunc vehicula rutrum. Donec et diam. Nunc tortor nibh, pulvinar eget, blandit sit amet, cursus placerat, metus. Donec volutpat tempus dolor. Integer vitae magna vehicula enim lobortis ornare. Suspendisse orci enim, facilisis et, pretium ut, dapibus viverra, nisl. Morbi condimentum tellus et diam. Aenean dui magna, mattis eu, ultrices quis, viverra sit amet, magna. Vivamus dolor.
View
12 snippets/haml-mode/lorem.5
@@ -0,0 +1,12 @@
+# -*- mode: snippet -*-
+#name : five
+# --
+Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque in tellus. In pharetra consequat augue. In congue. Curabitur pellentesque iaculis eros. Proin magna odio, posuere sed, commodo nec, varius nec, tortor. Fusce ante. Curabitur tincidunt. Duis posuere eleifend justo. Sed pulvinar tortor sed ante. Aenean gravida. Integer at ante. Morbi vitae tortor. Vestibulum aliquet, arcu vitae elementum aliquam, tellus justo pretium dolor, eget molestie tellus dui nec dolor. Mauris sit amet ligula. Morbi sit amet sapien mollis neque ultricies placerat.
+
+Nam commodo eros ac ipsum. Mauris lobortis gravida velit. Mauris a orci ut turpis euismod vehicula. In et est et pede hendrerit pellentesque. Quisque tincidunt consequat dolor. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris imperdiet, neque sit amet varius commodo, nisi enim condimentum est, gravida eleifend velit nisl in pede. Phasellus metus leo, eleifend vitae, aliquet non, vestibulum at, diam. Praesent eget turpis sed ante convallis euismod. Praesent ante. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras dui libero, sodales eu, ornare a, fermentum non, erat. Suspendisse purus elit, suscipit et, lacinia eget, lacinia quis, est. Quisque at pede. Proin a magna. Aliquam tristique ultrices purus. Ut risus dui, facilisis ut, sodales nec, pharetra at, pede. Integer purus felis, ullamcorper vitae, feugiat lobortis, placerat quis, sem.
+
+Nulla facilisi. Suspendisse ornare. Ut porta, nisl non egestas suscipit, libero nibh sollicitudin libero, at hendrerit massa odio in felis. Vestibulum ac elit. Praesent vel enim. Aliquam rutrum nibh ornare enim. In mollis, neque a vulputate aliquet, nulla nunc ornare dui, et scelerisque nulla odio eget nunc. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas convallis dolor eget massa. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In hac habitasse platea dictumst. Nam risus tellus, fermentum vitae, faucibus eget, dapibus ut, magna. Maecenas convallis tincidunt ante. Donec quam arcu, dignissim non, condimentum at, feugiat gravida, nisl.
+
+In id nisl. Nam eu lectus. Nulla vitae metus. Integer eu arcu. Praesent at lectus ut nunc vehicula rutrum. Donec et diam. Nunc tortor nibh, pulvinar eget, blandit sit amet, cursus placerat, metus. Donec volutpat tempus dolor. Integer vitae magna vehicula enim lobortis ornare. Suspendisse orci enim, facilisis et, pretium ut, dapibus viverra, nisl. Morbi condimentum tellus et diam. Aenean dui magna, mattis eu, ultrices quis, viverra sit amet, magna. Vivamus dolor.
+
+Pellentesque scelerisque, ligula cursus tristique tincidunt, diam nunc fringilla nulla, eget blandit ligula est dignissim erat. Maecenas tempor nulla. Vestibulum arcu. Morbi pulvinar. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Morbi sit amet eros consectetuer felis porta ornare. Donec ac urna mollis ligula tincidunt interdum. Ut a lorem. Nam laoreet faucibus massa. Suspendisse potenti. Nullam tempor laoreet pede.
View
4 snippets/haml-mode/lt
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : link_to
+# --
+= link_to ${1:name}, ${2:target}
View
4 snippets/haml-mode/p
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : p
+# --
+%p $0
View
5 snippets/haml-mode/pre
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name : pre
+# --
+%pre
+ $0
View
4 snippets/haml-mode/rp
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : render partial
+# --
+= render :partial => $1
View
5 snippets/haml-mode/script
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name : script
+# --
+%script
+ $0
View
4 snippets/haml-mode/span
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : span
+# --
+%span $0
View
4 snippets/haml-mode/stl
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : style
+# --
+:style => '$0'
View
5 snippets/haml-mode/style
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name : style
+# --
+%style
+ $0
View
4 snippets/haml-mode/t
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : translate
+# --
+t('$0')
View
5 snippets/haml-mode/table
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name : table
+# --
+%table
+ $0
View
5 snippets/haml-mode/tbody
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name : tbody
+# --
+%tbody
+ $0
View
4 snippets/haml-mode/td
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : td
+# --
+%td $0
View
4 snippets/haml-mode/th
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : th
+# --
+%th $0
View
5 snippets/haml-mode/thead
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name : thead
+# --
+%thead
+ $0
View
4 snippets/haml-mode/title
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : title
+# --
+%title $0
View
5 snippets/haml-mode/tr
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name : tr
+# --
+%tr
+ $0
View
5 snippets/haml-mode/ul
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name : ul
+# --
+%ul
+ $0
View
5 snippets/haml-mode/unl
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name : unless
+# --
+- unless ${1:condition}
+ $0
View
4 snippets/haml-mode/val
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : value
+# --
+:value => '$0'
View
5 snippets/haml-mode/wo
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+#name : with_options
+# --
+- $1with_options ${2:options} do |${3:variable_name}|
+ = $3.$0
View
4 snippets/haml-mode/y
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : yield
+# --
+= yield $0
View
4 snippets/haskell-mode/d
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name: debug
+# --
+trace (show $0) undefined
View
4 snippets/haskell-mode/u
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name: undefined
+# --
+undefined
View
4 snippets/html-mode/a
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : a
+# --
+<a href="$1">$0</a>
View
4 snippets/html-mode/b
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : b
+# --
+<b>$0</b>
View
6 snippets/html-mode/body
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+#name : body
+# --
+<body>
+ $0
+</body>
View
4 snippets/html-mode/br
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : br
+# --
+<br />
View
4 snippets/html-mode/cls
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : class
+# --
+class="$0"
View
6 snippets/html-mode/code
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+#name : code
+# --
+<code>
+ $0
+</code>
View
6 snippets/html-mode/div
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+#name : div
+# --
+<div>
+ $0
+</div>
View
6 snippets/html-mode/form
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+#name : form
+# --
+<form method="${1:post}">
+ $0
+</form>
View
4 snippets/html-mode/h1
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : h1
+# --
+<h1>$0</h1>
View
4 snippets/html-mode/h2
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : h2
+# --
+<h2>$0</h2>
View
4 snippets/html-mode/h3
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : h3
+# --
+<h3>$0</h3>
View
4 snippets/html-mode/h4
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : h4
+# --
+<h4>$0</h4>
View
4 snippets/html-mode/h5
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : h5
+# --
+<h5>$0</h5>
View
6 snippets/html-mode/head
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+#name : head
+# --
+<head>
+ $0
+</head>
View
4 snippets/html-mode/hr
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : hr
+# --
+<hr />
View
6 snippets/html-mode/html
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+#name : html
+# --
+<html>
+ $0
+</html>
View
4 snippets/html-mode/i
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : i
+# --
+<i>$0</i>
View
4 snippets/html-mode/id
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : id
+# --
+id="$0"
View
4 snippets/html-mode/img
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : img
+# --
+<img src="$1" alt="$2" />
View
4 snippets/html-mode/li
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : li
+# --
+<li>$0</li>
View
4 snippets/html-mode/lorem.1
@@ -0,0 +1,4 @@
+# -*- mode: snippet -*-
+#name : one
+# --
+Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque in tellus. In pharetra consequat augue. In congue. Curabitur pellentesque iaculis eros. Proin magna odio, posuere sed, commodo nec, varius nec, tortor. Fusce ante. Curabitur tincidunt. Duis posuere eleifend justo. Sed pulvinar tortor sed ante. Aenean gravida. Integer at ante. Morbi vitae tortor. Vestibulum aliquet, arcu vitae elementum aliquam, tellus justo pretium dolor, eget molestie tellus dui nec dolor. Mauris sit amet ligula. Morbi sit amet sapien mollis neque ultricies placerat.
View
6 snippets/html-mode/lorem.2
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+#name : two
+# --
+Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque in tellus. In pharetra consequat augue. In congue. Curabitur pellentesque iaculis eros. Proin magna odio, posuere sed, commodo nec, varius nec, tortor. Fusce ante. Curabitur tincidunt. Duis posuere eleifend justo. Sed pulvinar tortor sed ante. Aenean gravida. Integer at ante. Morbi vitae tortor. Vestibulum aliquet, arcu vitae elementum aliquam, tellus justo pretium dolor, eget molestie tellus dui nec dolor. Mauris sit amet ligula. Morbi sit amet sapien mollis neque ultricies placerat.
+
+Nam commodo eros ac ipsum. Mauris lobortis gravida velit. Mauris a orci ut turpis euismod vehicula. In et est et pe