cd ~/
git clone --recursive https://github.com/muyinliu/.emacs.d.git
OR
cd ~/
git clone https://github.com/muyinliu/.emacs.d.git
cd ~/.emacs.d/
git submodule init
git submodule update
link ~/.emacs.d
as Aquamacs' config with commands:
export AQUAMACS_PATH="$HOME/Library/Preferences/Aquamacs Emacs"
mv "$AQUAMACS_PATH/Packages" "$AQUAMACS_PATH/Packages.bak"
ln -s ~/.emacs.d "$AQUAMACS_PATH/Packages"
mv "$AQUAMACS_PATH/Preferences.el" "$AQUAMACS_PATH/Preferences.el.bak"
ln -s ~/.emacs.d/init.el "$AQUAMACS_PATH/Preferences.el"
mv "$AQUAMACS_PATH/Recent Files.el" "$AQUAMACS_PATH/Recent Files.el.bak"
ln -s ~/.emacs.d/recentf "$AQUAMACS_PATH/Recent Files.el"
mv "$AQUAMACS_PATH/auto-save-list" "$AQUAMACS_PATH/auto-save-list.bak"
ln -s ~/.emacs.d/auto-save-list "$AQUAMACS_PATH/auto-save-list"
If you want to use SLIME, the Superior Common Lisp Interaction Mode for Emacs, you have to install follow dependencies:
- Common Lisp Implementation, eg. SBCL/CCL/ECL/...
- QuickLisp
- SLIME installed with
(ql:quickload 'swank)
in Common Lisp REPL
Run slime
on Emacs will run SLIME REPL
Note: without slime
installed will get a Cannot open load file: No such file or directory, slime
when execute command slime
If you want to use CIDER, the Clojure Interactive Development Environment that Rocks for Emacs, you have to have Leiningen or Boot installed, and please take a look at Launch an nREPL server and client from Emacs and Connect to a running nREPL server
Plugins included in configuration:
- use-package Lazy load plugins
- expand-region.el Select code easily
- multiple-cursors.el Select part of multiple lines
- company-mode Auto complete
- slime-company Auto complete in Common Lisp mode and SLIME REPL
- slime-repl-ansi-color Show with ANSI color in SLIME REPL
- visual-regexp Search words in visual mode
- visual-regexp-steroids Search words in visual mode with Python regex
- dash parinfer-mode's dependency
- move-lines Move lines easily
- duplicate-thing Duplicate line or other things
- smartparens Auto complete brackets
- parinfer-mode Auto indent and complete brackets
- rainbow-delimiters Show brackets with colors in different level
- auto-highlight-symbol Highlight same symbol
- rainbow-mode Highlight color hex code with background color
- tabbar Tabbar fork from Aquamacs
- buffer-move Move buffer from window to window
- nyan-mode Show progress bar with a cute nyan cat
- imenu-anywhere Show function/symbol or other things in a list
- helm Visual select before execute command or find files or grep(ag) files
- emacs-async Dependency of helm
- browse-url-dwim Browse URL on current cursor in Safari(only for Mac OS)
- osx-browse Web browsing helpers for Emacs on OS X
- org-bullets Show title prefix with specific character in different level
- cnfonts Show chinese with same-width fonts(1 chinese character take up space of 2 english character)
- nlinum Show line numbers in the margin
- clojure-mode Emacs support for the Clojure(Script) programming language
- spinner.el Emacs mode-line spinner for operations in progress
- CIDER The Clojure Interactive Development Environment that Rocks for Emacs
- queue Queue data structure
- markdown-mode Emacs Markdown Mode
- parseedn EDN parser for Emacs Lisp
- pkg-info Provide information about Emacs packages
- sesman Session manager for Emacs based IDEs
- a Emacs Lisp functions for dealing with association lists and hash tables. Inspired by Clojure
- parseclj Clojure Parser for Emacs Lisp
ISC(See LICENSE file for details).