about summary refs log tree commit diff
path: root/configs/shared/.emacs.d/snippets/rjsx-mode/redux-action
diff options
context:
space:
mode:
Diffstat (limited to 'configs/shared/.emacs.d/snippets/rjsx-mode/redux-action')
-rw-r--r--configs/shared/.emacs.d/snippets/rjsx-mode/redux-action5
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/shared/.emacs.d/snippets/rjsx-mode/redux-action b/configs/shared/.emacs.d/snippets/rjsx-mode/redux-action
new file mode 100644
index 0000000000..7d24ffee41
--- /dev/null
+++ b/configs/shared/.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