Remove temporary hack for evil-half-cursor

It is now fixed upstream
Fixes #1449
This commit is contained in:
syl20bnr 2015-06-20 22:49:30 -04:00
parent 0253e85bd4
commit d157e225aa

View file

@ -560,13 +560,6 @@
;; https://bitbucket.org/lyro/evil/issue/502/cursor-is-not-refreshed-in-some-cases
(add-hook 'post-command-hook 'evil-refresh-cursor)
;; hack for speeding up the use of ace-jump-line as a motion
;; https://bitbucket.org/lyro/evil/issue/472/evil-half-cursor-makes-evil-ace-jump-mode
(defun evil-half-cursor ()
"Change cursor to a half-height box. (This is really just a thick horizontal bar.)"
(let ((height (/ (window-pixel-height) (* (window-height) 2))))
(setq cursor-type (cons 'hbar height))))
(defun spacemacs/state-color-face (state)
"Return the symbol of the face for the given STATE."
(intern (format "spacemacs-%s-face" (symbol-name state))))