Evil command . repeats wrong commands
Use the Emacs config below. Input some text in a file. Hit
. command to verify it works. Next execute the
or command. Now when I use
. again, no insertion is made. Actually what
. is executing is revert-buffer again, even though I defined it as a motion.
(add-to-list 'load-path "~/.emacs.d/evil") ; only without ELPA/el-get (require 'evil) (evil-mode 1) (setq revert-without-query (quote (".*"))) (define-key evil-normal-state-map "o" nil) (define-key evil-visual-state-map "o" nil) (define-key evil-motion-state-map "or" 'revert-buffer)