evil: remove monkey patches (maybe fixed upstream?)
This commit is contained in:
parent
b2d7e3ac6a
commit
9d7c420f72
1 changed files with 0 additions and 13 deletions
|
@ -106,19 +106,6 @@
|
||||||
(setq narf-popup-windows (delq w narf-popup-windows))))
|
(setq narf-popup-windows (delq w narf-popup-windows))))
|
||||||
narf-popup-windows))
|
narf-popup-windows))
|
||||||
|
|
||||||
;; Fix disruptive errors w/ hidden buffers caused by workgroups killing windows
|
|
||||||
;; TODO Delete timer on dead windows
|
|
||||||
(defadvice evil-ex-hl-do-update-highlight (around evil-ex-hidden-buffer-ignore-errors activate)
|
|
||||||
(ignore-errors ad-do-it))
|
|
||||||
|
|
||||||
;; Monkey-patch an error triggered randomly during column-selection caused
|
|
||||||
;; by `evil-move-to-column' receiving a float:
|
|
||||||
;; evil-move-to-column: Wrong type argument: wholenump, 12.0
|
|
||||||
(defun narf*evil-move-to-column-fix (args)
|
|
||||||
(mapcar (lambda (i) (if (numberp i) (truncate i) i)) args))
|
|
||||||
(advice-add 'evil-move-to-column :filter-args 'narf*evil-move-to-column-fix)
|
|
||||||
(advice-add 'extract-rectangle-line :filter-args 'narf*evil-move-to-column-fix)
|
|
||||||
|
|
||||||
;; Hide keystroke display while isearch is active
|
;; Hide keystroke display while isearch is active
|
||||||
(add-hook! isearch-mode (setq echo-keystrokes 0))
|
(add-hook! isearch-mode (setq echo-keystrokes 0))
|
||||||
(add-hook! isearch-mode-end (setq echo-keystrokes 0.02))
|
(add-hook! isearch-mode-end (setq echo-keystrokes 0.02))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue