 ;;; core-keybinds.el
 
-;; A centralized keybinds system. Uses `which-key' to preview available keys.
+;; A centralized keybinds system, integrated with `which-key' to preview
+;; available keys, and `evil', if it's enabled. All built into one powerful
+;; macro: `map!'.
 
 (defvar doom-leader-key ","
   "The leader prefix key, for global commands.")

                        `(vconcat ,prefix (if (stringp ,def) (kbd ,def) ,def))
                      `(vconcat ,prefix ,(if (stringp def) (kbd def) def))))
              (when desc
                (push `(doom-keybind-register ,(key-description (eval prefix))
                                              ,desc ',modes)
                      forms)
                (setq desc nil))))
          (otherwise ; might be a state prefix
           (setq states (doom-keyword-to-states key '("L")))
           (when (let (case-fold-search)
                   (string-match-p "L" (symbol-name key)))
             (setq local t)

                (user-error "map! has no definition for %s key" key))
              (setq def (pop rest))
              (when desc
                (push `(doom--keybind-register ,(key-description (eval key))
                                              ,desc ',modes)
                      forms))
              (cond ((and keymaps states)
