1. https://github.com/clojure-emacs/cider#keyboard-shortcuts
2. Install Emacs 24.5
3. http://clojure-doc.org/articles/tutorials/emacs.html
4. http://stackoverflow.com/questions/23233470/how-to-use-ciders-built-in-autocompletion-in-clojure/28249313#28249313
5. Edit. Lein PROJECT.CLJ
{: User{:java-cmd "C:\\Program Files\\java\\jdk1.8.0\\bin\\java.exe":p lugins [[Cider/cider-nrepl "0.9.0-snapshot"]]:d ependencies [[Org.clojure/tools.nrepl "0.2.7"]]}}
6. Edit Project ' s PROJECT.CLJ
:p rofiles {:d ev {:p lugins [[[Cider/cider-nrepl] 0.9.0 "]}}
7. The. Emacs
(custom-set-variables;; Custom-set-variables was added by Custom.;; If you edit it by hand, you could mess it up and so is careful. ;; Your init file should contain only one such instance. ;; If there is more than one, the they won ' t work right. ' (Text-mode-hook (quote (Turn-on-auto-fill text-mode-hook-identify))) (custom-set-faces;; Custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up and so is careful. ;; Your init file should contain only one such instance. ;; If there is more than one, the they won ' t work right. (Require ' cl) (Require ' package) (Add-to-list ' package-archives ' ("Melpa"). "http://melpa.org/packages/") t) (Let ((default-directory "~/.emacs.d/elpa/")) (Normal-top-level-add-to-load-path ' ( ".")) (Normal-top-level-add-subdirs-to-load-path)) (Require ' color-theme) (color-theme-initialize) (color-theme-bharadwaj-slate) (Require ' auto-complete-config) (Add-to-list ' ac-dictionary-directories "~/.emacs.d/elpa/auto-complete-20150615.34/dict") (Require' Clojure-mode ' (Require ' cider-mode) (Require ' Ac-cider) (Ac-config-default) (Add-hook ' Cider-repl-mode-hook ') Ac-cider-setup) (Add-hook ' Cider-mode-hook ' Ac-cider-setup) (eval-after-load "Auto-complete" ' (add-to-list ' ac-modes ' Cider-repl-mode)) (Add-hook ' Clojure-mode-hook ' Paredit-mode) (Add-hook ' Clojurescript-mode-hook ' Paredit-mode) (Add-hook ' Clojure-mode-hook ' Rainbow-delimiters-mode) ( SETQ cider-repl-pop-to-buffer-on-connect Nil) (Require ' highlight-parentheses) (Add-hook ' Clojure-mode-hook (lambda (Highlight-parentheses-mode T))) (Defun set-auto-complete-as-completion-at-point-function () (Setq Completi On-at-point-functions ' (auto-complete)) (Add-hook ' Auto-complete-mode-hook ' set-auto-complete-as-completion-at-point-function) (Add-hook ' Cider-repl-mode-hook ') Set-auto-complete-as-completion-at-point-function) (Add-hook ' Cider-mode-hook ' set-auto-complete-as-completion-at-point-function) (eval-after-load "Cider" ' (Define-key cider-mode-map (kbd "c-c c-d") ' Ac-cider-popup-doc) (package-initialize)
Clojure-emacs-autocomplete