| (use-package evil | |
| :load-path "~/.emacs.d/packages/evil/" | |
| ;; TODO get the binding to work | |
| :bind | |
| (:map evil-normal-state-map | |
| ("h" . avy-goto-char)) | |
| :config | |
| (evil-mode 1) | |
| ;; The fallowing code do work | |
| ;;(define-key evil-normal-state-map (kbd "h") 'avy-goto-char-2) | |
| ;; Evil mode coursor color base on mode | |
| (setq evil-default-cursor (quote (t "#750000")) | |
| evil-visual-state-cursor '("pink" box) | |
| evil-normal-state-cursor '("green" box) | |
| evil-insert-state-cursor '("yellow" box) | |
| ;; Don’t move back the cursor one position when exiting insert mode | |
| evil-move-cursor-back nil)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment