I want to install Emacs Evil mode in Windows, but I can't find any documentation on the subject. Does Evil mode exist for Windows? If so how do I install?
2 Answers
If you are interested in trying evil mode, I suggest you use the excellent bootstrap available here: https://github.com/bling/emacs-evil-bootstrap.
Two scenarios:
If you don't have a
.emacsorinit.elfile yet, simply copy the suppliedinit.elfile into youremacs.ddirectory. Emacs will automatically load evil mode when you next open the program.
(If you are running Windows, youremacs.ddirectory will probably be located atC:\Users\your-user-name\AppData\Roaming\.emacs.d.)If you already have a
.emacsorinit.elconfig file, open up the githubinitfile and copy across the code it contains to your own config file (if you already have some of this code, or some code that does the same job, you don't have to repeat it):(require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t) ;;; from purcell/emacs.d (defun require-package (package &optional min-version no-refresh) "Install given PACKAGE, optionally requiring MIN-VERSION. If NO-REFRESH is non-nil, the available package lists will not be re-downloaded in order to locate PACKAGE." (if (package-installed-p package min-version) t (if (or (assoc package package-archive-contents) no-refresh) (package-install package) (progn (package-refresh-contents) (require-package package min-version t))))) (package-initialize) (require-package 'evil) (setq evil-search-module 'evil-search evil-want-C-u-scroll t evil-want-C-w-in-emacs-state t) (require 'evil) (evil-mode t)Again, just follow these steps, and emacs will automatically load evil mode when you next open the program.
You can install it through ELPA, or by cloning the repository to a local directory. It's no different on Windows from any other operating system.
What's the problem you're having? The home page has the simple installation instructions.