gabesoft/evil-mc

Not working with lispy mode

QiangF opened this issue · 2 comments

Lispy has special keys, which breaks insert text in lispy mode.

(add-to-list 'evil-mc-incompatible-minor-modes 'lispy-mode)

For some reason this variable get's set in a special way so I put this.

(defun mm/add-lispy-to-incompatible-minor-modes ()
  (setf
   evil-mc-incompatible-minor-modes
   (delete-dups
    (append
     '(lispy-mode)
     evil-mc-incompatible-minor-modes))))

(with-eval-after-load
    'evil-mc
  (add-hook
   'evil-mc-mode-hook
   #'mm/add-lispy-to-incompatible-minor-modes))