Advertisement
Guest User

Untitled

a guest
Aug 20th, 2017
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. (use-package evil
  2. :load-path "~/.emacs.d/packages/evil/"
  3. ;; TODO get the binding to work
  4. :bind
  5. (:map evil-normal-state-map
  6. ("h" . avy-goto-char))
  7. :config
  8. (evil-mode 1)
  9. ;; The fallowing code do work
  10. ;;(define-key evil-normal-state-map (kbd "h") 'avy-goto-char-2)
  11. ;; Evil mode coursor color base on mode
  12. (setq evil-default-cursor (quote (t "#750000"))
  13. evil-visual-state-cursor '("pink" box)
  14. evil-normal-state-cursor '("green" box)
  15. evil-insert-state-cursor '("yellow" box)
  16. ;; Don’t move back the cursor one position when exiting insert mode
  17. evil-move-cursor-back nil))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement