quash evil-line-move error when moving to shorter line
This commit is contained in:
parent
7507ced110
commit
b670384b0b
@ -2,7 +2,7 @@
|
||||
|
||||
;; Copyright (C) 2023 mir
|
||||
|
||||
;; Author: mir <mir@mirmarq42.xyz>
|
||||
;; Author: mir <mir@marq42.xyz>
|
||||
;; 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
|
||||
|
Loading…
Reference in New Issue
Block a user