aboutsummaryrefslogtreecommitdiff
path: root/vim/bundle/vim-snippets/snippets/slim.snippets
diff options
context:
space:
mode:
Diffstat (limited to 'vim/bundle/vim-snippets/snippets/slim.snippets')
-rw-r--r--vim/bundle/vim-snippets/snippets/slim.snippets63
1 files changed, 63 insertions, 0 deletions
diff --git a/vim/bundle/vim-snippets/snippets/slim.snippets b/vim/bundle/vim-snippets/snippets/slim.snippets
new file mode 100644
index 0000000..885ca8d
--- /dev/null
+++ b/vim/bundle/vim-snippets/snippets/slim.snippets
@@ -0,0 +1,63 @@
+snippet pry
+ - binding.pry
+snippet renp
+ = render partial: '${0}'
+# Forms
+# =====
+snippet fieldset
+ fieldset
+ legend ${1}
+snippet css
+ link rel="stylesheet" href="${1:style.css}" type="text/css" media="${2:all}"
+snippet script
+ script src="${1:script.js}" type="text/javascript"
+# Some useful Unicode entities
+# ============================
+# Non-Breaking Space
+snippet nbs
+  
+# ←
+snippet left
+ ←
+# →
+snippet right
+ →
+# ↑
+snippet up
+ ↑
+# ↓
+snippet down
+ ↓
+# ↩
+snippet return
+ ↩
+# ⇤
+snippet backtab
+ ⇤
+# ⇥
+snippet tab
+ ⇥
+# ⇧
+snippet shift
+ ⇧
+# ⌃
+snippet ctrl
+ ⌃
+# ⌅
+snippet enter
+ ⌅
+# ⌘
+snippet cmd
+ ⌘
+# ⌥
+snippet option
+ ⌥
+# ⌦
+snippet delete
+ ⌦
+# ⌫
+snippet backspace
+ ⌫
+# ⎋
+snippet esc
+ ⎋