Re-order functions.el module
Move `wpc/find-file-split` directly below `wpc/find-file`. TODO: This module is quite old and served as a bit of a dumping grounds for me for a long time. As such, I think I should consider deleting dead code and moving some of these functions to other modules.
This commit is contained in:
parent
fa640ed8a3
commit
68395b29f9
1 changed files with 6 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue