diff --git a/lisp/mir-evil.el b/lisp/mir-evil.el index 10a7962..34d8daa 100644 --- a/lisp/mir-evil.el +++ b/lisp/mir-evil.el @@ -2,7 +2,7 @@ ;; Copyright (C) 2023 mir -;; Author: mir +;; Author: mir ;; Keywords: ;; This program is free software; you can redistribute it and/or modify @@ -54,7 +54,11 @@ (quote undo-redo) (quote undo-fu))) :init (evil-mode t) - :config (mir/evil-config)) + :config (mir/evil-config) + (advice-add #'evil-line-move :around + (lambda (orig &rest args) + (ignore-errors + (apply orig args))))) (use-package evil-collection :after evil :diminish evil-collection-unimpaired-mode