mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-30 17:01:02 -05:00
evil-mode: refactor config
This commit is contained in:
@@ -24,5 +24,19 @@
|
||||
(mapc (lambda (cmd) (narf/evil-ex-undefine-cmd (car cmd)))
|
||||
',commands))))
|
||||
|
||||
|
||||
;; Shortcuts for the evil expression register
|
||||
;;;###autoload
|
||||
(defmacro $= (str &rest args)
|
||||
`(calc-eval (format ,str ,@args)))
|
||||
|
||||
;;;###autoload
|
||||
(defmacro $r (char)
|
||||
`(evil-get-register ,char))
|
||||
|
||||
;;;###autoload
|
||||
(defmacro $expand (path)
|
||||
`(evil-ex-replace-special-filenames ,path))
|
||||
|
||||
(provide 'macros-evil)
|
||||
;;; macros-evil.el ends here
|
||||
|
Reference in New Issue
Block a user