evil-mode: refactor config
This commit is contained in:
parent
ef8731a3c3
commit
c02c77a2aa
3 changed files with 111 additions and 121 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue