doomemacs/README.md

139 lines
5.9 KiB
Markdown
Raw Normal View History

2017-09-07 19:24:14 +08:00
![Release tag](https://img.shields.io/github/tag/hlissner/doom-emacs.svg?label=release&style=flat-square)
[![Master Build Status](https://img.shields.io/travis/hlissner/doom-emacs/master.svg?label=master&style=flat-square)](https://travis-ci.org/hlissner/doom-emacs)
[![Develop Build Status](https://img.shields.io/travis/hlissner/doom-emacs/develop.svg?label=develop&style=flat-square)](https://travis-ci.org/hlissner/doom-emacs)
2017-07-14 21:27:18 +08:00
[![MIT](https://img.shields.io/badge/license-MIT-green.svg?style=flat-square)](./LICENSE)
2015-06-14 23:26:03 +08:00
2017-09-11 20:10:43 +08:00
[![Main screenshot](/../screenshots/main.png)](/../../tree/screenshots)
2017-07-29 06:54:08 +08:00
- - -
<p align="center">
<a href="/../../wiki">Wiki</a> |
<a href="/../../tree/screenshots">Screenshots</a> |
2017-09-02 22:28:53 +08:00
<a href="/../../wiki/FAQ#troubleshooting">Troubleshooting</a> |
2017-08-22 07:16:33 +08:00
<a href="/../../wiki/FAQ">FAQ</a> |
2017-07-29 06:54:08 +08:00
<a href="/CHANGELOG.org">Changelog</a>
</p>
- - -
2016-05-31 09:19:10 +08:00
2016-10-06 03:50:34 +08:00
<a href="http://ultravioletbat.deviantart.com/art/Yay-Evil-111710573">
2017-07-29 06:54:08 +08:00
<img src="/../screenshots/cacochan.png" align="right" />
2016-10-06 03:50:34 +08:00
</a>
2016-08-21 23:23:11 +08:00
2017-07-29 06:54:08 +08:00
It is a story as old as time. A stubborn, shell-dwelling, and melodramatic
vimmer -- envious of the features of modern text editors -- spirals into despair
before he finally succumbs to the [dark side][evil-mode]. This is his config.
2017-08-22 07:14:55 +08:00
DOOM's philosophy is simple: be **fast**, be **readable**, and be **pretty**. It
is tailored for neckbeards with a blue-belt or better in command-line-fu who
don't shy away from dabbling with Elisp.
2017-07-29 06:54:08 +08:00
2017-08-22 07:14:55 +08:00
Rip and tear. Until it compiles.
2016-05-31 09:19:10 +08:00
2017-07-29 06:54:08 +08:00
> **Important:** Doom only supports Emacs >= 25.1, and is tailored for Arch
> Linux 4.7+ and Mac OS 10.11+.
2016-08-21 23:23:11 +08:00
2017-07-29 06:54:08 +08:00
- - -
2016-05-24 08:56:19 +08:00
2017-07-29 06:54:08 +08:00
## Quick start
2015-06-14 23:26:03 +08:00
2016-10-06 03:50:34 +08:00
```bash
2017-09-07 19:24:14 +08:00
git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
2015-06-14 23:26:03 +08:00
cd ~/.emacs.d
2017-02-20 13:19:12 +08:00
cp init.example.el init.el # maybe edit init.el
make install
2017-05-26 07:56:57 +08:00
```
2017-05-26 02:08:50 +08:00
2017-07-29 06:54:08 +08:00
Visit the wiki for [a more detailed guide on installing, customizing and
grokking Doom][wiki].
## Feature highlights
+ A fast, organized and opinionated Emacs configuration with a command line
interface.
+ A custom, declarative [package management system][doom-packages] that combines
package.el, [use-package] and [quelpa]. This lets you install packages from
sources other than ELPA, as well as manage packages from the command line.
+ A [popup management system][doom-popups] (powered by [shackle]) that minimizes
the presence and footprint of temporary and/or disposable buffers.
+ A vim-like experience with [evil-mode], including ports for several vim
plugins, <kbd>C-x</kbd> omnicompletion and a slew of [custom ex commands][doom-my-commands].
+ Integration with [editorconfig]. Let someone else argue about tabs and spaces
(spaces, duh).
+ Code completion for a variety of languages, powered by [company-mode] (there
may be other dependencies for certain languages).
+ Project-awareness powered by [projectile], with tools to navigate and manage
projects and project files.
+ Fast project search (and replace) utilities, powered by [the_silver_searcher],
[ripgrep] and [wgrep], with [ivy] (the default), [helm] and ido integration.
+ Isolated and persistent workspaces powered by [persp-mode]. This can
substitute for vim tabs.
+ Inline/live code evaluation (using [quickrun]), including REPLs for a variety
of languages.
2017-05-26 02:08:50 +08:00
2017-07-29 06:54:08 +08:00
## Troubleshooting
2017-05-26 07:56:57 +08:00
2017-07-29 06:54:08 +08:00
Found a problem? Here are some things to try:
2016-05-31 09:19:10 +08:00
2017-07-29 06:54:08 +08:00
+ Make sure all plugins are installed with `make install`.
+ A `void-function` or `void-variable` might signal an out-of-date autoloads
file. Update it with `make autoloads`.
+ Diagnose common OS/environment issues that could interfere with Emacs with
`make doctor`.
+ If you byte-compiled Doom, run `make clean` or `M-x doom/clean-compiled-files`
and restart Emacs. Never debug byte-compiled code, it will interfere with your
efforts in subtle (and not-so-subtle) ways.
2017-08-23 04:16:55 +08:00
+ Check [the FAQ][wiki-troubleshooting] to see if your issue is mentioned.
+ If your issue is associated with a particular module, like code-completion,
check the module's README.org, if any.
2017-07-29 06:54:08 +08:00
If all else fails, [file a bug report][doom-new-issue].
2017-07-29 06:54:08 +08:00
## Contribute
2017-05-26 02:08:50 +08:00
2017-07-29 06:54:08 +08:00
Doom (and my Emacs work in general) is a labor of love and incurable madness,
done on my free time. It wasn't intended for public use, but I enjoy making Doom
a resource for others.
2017-05-26 02:08:50 +08:00
2017-07-29 06:54:08 +08:00
If you'd like to support my efforts, I welcome contributions of any kind:
2017-05-26 02:08:50 +08:00
2017-09-11 23:01:59 +08:00
+ I love pull requests and bug reports, and elisp pointers are especially
2017-07-29 06:54:08 +08:00
welcome. Seriously, don't hesitate to [tell me my Elisp-fu
sucks][doom-new-issue]!
+ I'm happy to discuss Emacs workflow, ideas or tooling. If you think I, Doom or
other Emacs users could benefit from them (or you just want to chat), drop me
a line at henrik@lissner.net. I'm eager to learn.
2016-09-09 15:00:34 +08:00
2017-08-22 07:16:33 +08:00
[wiki]: /../../wiki
[wiki-conventions]: /../../wiki/Conventions
[wiki-modules]: /../../wiki/Modules
[wiki-customization]: /../../wiki/Customization
2017-08-23 04:16:55 +08:00
[wiki-troubleshooting]: /../../wiki/FAQ#troubleshooting
2016-09-09 15:00:34 +08:00
2017-07-29 06:54:08 +08:00
[doom-my-bindings]: modules/private/hlissner/+bindings.el
[doom-my-commands]: modules/private/hlissner/+commands.el
2017-09-07 19:24:14 +08:00
[doom-new-issue]: https://github.com/hlissner/doom-emacs/issues/new
2017-07-29 06:54:08 +08:00
[doom-packages]: core/autoload/packages.el
[doom-popups]: core/core-popups.el
2017-05-04 16:57:03 +08:00
[doom-theme]: https://github.com/hlissner/emacs-doom-theme
2017-07-29 06:54:08 +08:00
[company-mode]: https://github.com/company-mode/company-mode
2017-05-04 16:57:03 +08:00
[editorconfig]: http://editorconfig.org/
2017-07-29 06:54:08 +08:00
[evil-mode]: https://github.com/emacs-evil/evil
[git-gutter-fringe]: https://github.com/syohex/emacs-git-gutter-fringe
[helm]: https://github.com/emacs-helm/helm
[ivy]: https://github.com/abo-abo/swiper
[persp-mode]: https://github.com/Bad-ptr/persp-mode.el
[projectile]: https://github.com/bbatsov/projectile
[quelpa]: https://github.com/quelpa/quelpa
[quickrun]: https://github.com/syohex/emacs-quickrun
[ripgrep]: https://github.com/BurntSushi/ripgrep
[shackle]: https://github.com/wasamasa/shackle
[the_silver_searcher]: https://github.com/ggreer/the_silver_searcher
[use-package]: https://github.com/jwiegley/use-package
2017-05-04 16:57:03 +08:00
[vim]: https://github.com/hlissner/.vim
2017-07-29 06:54:08 +08:00
[wgrep]: https://github.com/mhayashi1120/Emacs-wgrep