summaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-12-10 17:14:27 +0100
committerGravatar Tom Willemse2014-12-10 17:14:27 +0100
commit567e133cf38fdefcab042c413b009ab60021e350 (patch)
treecba0396b952e0688cd34a1d879fd6baec669701a /emacs
parentbea07604f2de6dbf7dcc29cc541b52c110fb8cc8 (diff)
downloaddotfiles-567e133cf38fdefcab042c413b009ab60021e350.tar.gz
dotfiles-567e133cf38fdefcab042c413b009ab60021e350.zip
Add snippets
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/snippets/css-mode/box-shadow5
-rw-r--r--emacs/.emacs.d/snippets/haml-mode/faq12
2 files changed, 17 insertions, 0 deletions
diff --git a/emacs/.emacs.d/snippets/css-mode/box-shadow b/emacs/.emacs.d/snippets/css-mode/box-shadow
new file mode 100644
index 0000000..82fe9d5
--- /dev/null
+++ b/emacs/.emacs.d/snippets/css-mode/box-shadow
@@ -0,0 +1,5 @@
+# -*- mode: snippet; require-final-newline: nil -*-
+# name: box-shadow
+# key: boxshadow
+# --
+box-shadow: ${1:offset-x} ${2:offset-y}${3: [blur-radius]}${4: [spread-radius]}${5: [color]}; \ No newline at end of file
diff --git a/emacs/.emacs.d/snippets/haml-mode/faq b/emacs/.emacs.d/snippets/haml-mode/faq
new file mode 100644
index 0000000..4d1a9e2
--- /dev/null
+++ b/emacs/.emacs.d/snippets/haml-mode/faq
@@ -0,0 +1,12 @@
+# -*- mode: snippet; require-final-newline: nil -*-
+# name: FAQ Question & Answer
+# key: faq
+# expand-env: ((yas-indent-line 'fixed))
+# --
+%dt
+ = link_to '#' do
+ .expand_icon
+ $1
+%dd
+ %p
+ $0 \ No newline at end of file