about summary refs log tree commit diff
path: root/emacs/.emacs.d/snippets/rjsx-mode/redux-action
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/snippets/rjsx-mode/redux-action')
-rw-r--r--emacs/.emacs.d/snippets/rjsx-mode/redux-action5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/.emacs.d/snippets/rjsx-mode/redux-action b/emacs/.emacs.d/snippets/rjsx-mode/redux-action
new file mode 100644
index 000000000000..7d24ffee4165
--- /dev/null
+++ b/emacs/.emacs.d/snippets/rjsx-mode/redux-action
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: redux-action
+# key: rax
+# --
+export const ${1:$$(string/lower->caps yas-text)} = '`(downcase (buffer-dirname))`/${1:$(string/caps->kebab yas-text)}'
\ No newline at end of file