Fix nvmap macro

This commit is contained in:
Henrik Lissner 2014-08-24 06:26:22 -04:00
parent e0c72477ae
commit 2838f301ff

View file

@ -12,8 +12,8 @@
(defmacro emap (map &rest body)
`(evil-define-key 'emacs ,map ,@body))
(defmacro nvmap (map &rest body)
`(evil-define-key 'normal ,map ,@body)
`(evil-define-key 'visual ,map ,@body))
`(progn (evil-define-key 'normal ,map ,@body)
(evil-define-key 'visual ,map ,@body)))
;; insert-mode key-chord mapping
(defmacro ichmap (key command)