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
|
;; Copyright (C) 2023 mir
|
||||||
|
|
||||||
;; Author: mir <mir@mirmarq42.xyz>
|
;; Author: mir <mir@marq42.xyz>
|
||||||
;; Keywords:
|
;; Keywords:
|
||||||
|
|
||||||
;; This program is free software; you can redistribute it and/or modify
|
;; This program is free software; you can redistribute it and/or modify
|
||||||
@ -54,7 +54,11 @@
|
|||||||
(quote undo-redo)
|
(quote undo-redo)
|
||||||
(quote undo-fu)))
|
(quote undo-fu)))
|
||||||
:init (evil-mode t)
|
: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
|
(use-package evil-collection
|
||||||
:after evil
|
:after evil
|
||||||
:diminish evil-collection-unimpaired-mode
|
:diminish evil-collection-unimpaired-mode
|
||||||
|
Loading…
Reference in New Issue
Block a user