diff options
Diffstat (limited to 'configs/shared/.emacs.d/wpc/functions.el')
-rw-r--r-- | configs/shared/.emacs.d/wpc/functions.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/configs/shared/.emacs.d/wpc/functions.el b/configs/shared/.emacs.d/wpc/functions.el index 33e256be59bb..2ef82d54bbe1 100644 --- a/configs/shared/.emacs.d/wpc/functions.el +++ b/configs/shared/.emacs.d/wpc/functions.el @@ -31,6 +31,12 @@ (call-interactively #'counsel-projectile-find-file) (call-interactively #'find-file)))) +(defun wpc/find-file-split (filename) + "Creates a window split and then edits `filename'." + (interactive) + (evil-window-vsplit) + (find-file filename)) + (defun wpc/find-or-create-js-test () (->> buffer-file-name (s-chop-suffix ".js") @@ -83,12 +89,6 @@ (evil-window-vsplit) (call-interactively #'yas-new-snippet)) -(defun wpc/find-file-split (filename) - "Creates a window split and then edits `filename'." - (interactive) - (evil-window-vsplit) - (find-file filename)) - (defun wpc/jump-to-parent-file () "Jumps to a React store or component's parent file. Useful for store or index file." (interactive) |