Minor doc/comment revision & fixes
This commit is contained in:
parent
786dec3e50
commit
871201dad6
5 changed files with 41 additions and 37 deletions
67
README.md
67
README.md
|
@ -31,11 +31,13 @@
|
||||||
**Quick start**
|
**Quick start**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Install emacs and ripgrep through your package manager, then...
|
|
||||||
git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
|
git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
|
||||||
~/.emacs.d/bin/doom install
|
~/.emacs.d/bin/doom install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
More details, including dependencies and how to install Emacs, can be found [in
|
||||||
|
the documentation](docs/getting_started.org#install).
|
||||||
|
|
||||||
**Table of Contents**
|
**Table of Contents**
|
||||||
|
|
||||||
- [What is Doom Emacs](#what-is-doom-emacs)
|
- [What is Doom Emacs](#what-is-doom-emacs)
|
||||||
|
@ -56,46 +58,47 @@ 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
|
vimmer -- envious of the features of modern text editors -- spirals into despair
|
||||||
before succumbing to the [dark side][url:evil-mode]. This is his config.
|
before succumbing to the [dark side][url:evil-mode]. This is his config.
|
||||||
|
|
||||||
Doom is a configuration for [GNU Emacs](https://www.gnu.org/software/emacs/)
|
Doom is a configuration framework for [GNU
|
||||||
designed to make Emacs faster and easier to customize. It can serve as framework
|
Emacs](https://www.gnu.org/software/emacs/) tailored for Emacs bankruptcy
|
||||||
for your own configuration or a resource for fellow Emacs enthusiasts who want
|
veterans who want less framework in their frameworks and the performance of a
|
||||||
to learn more about our favorite OS.
|
hand rolled config (or better). It can be a foundation for your own config or a
|
||||||
|
resource for Emacs enthusiasts to learn more about our favorite OS.
|
||||||
|
|
||||||
## Doom's mantras
|
## Doom's mantras
|
||||||
|
|
||||||
- **Gotta go fast.** Startup and run-time performance are high priorities.
|
- **Gotta go fast.** Startup and run-time performance are priorities. Doom goes
|
||||||
Expensive functionality (built-in or in plugins) is modified and optimized
|
beyond lazy loading packages by modifying them to be snappier and load lazier!
|
||||||
toward this end, otherwise, they must be opt-in.
|
- **Close to metal.** There's less between you and vanilla Emacs by design.
|
||||||
- **Close to metal.** There's less between you and vanilla Emacs, by design.
|
There's less to grok, on top of Emacs.
|
||||||
There's less to grok. Modules should be syntactically sweet and backend logic
|
- **Readability counts.** Internals ought to be written as if reading them were
|
||||||
explicit and abstraction-light. The code itself ought to be designed as if
|
part of the user experience, and it is! Modules should be syntactically sweet.
|
||||||
grokking it were part of the user experience; and it is!
|
Backend logic should be functional (as much as elisp permits), abstraction
|
||||||
- **Opinionated, but not stubborn.** Doom is a bundle of reasonable defaults
|
light and (hopefully) documented.
|
||||||
and curated opinions, but you aren't stuck with it. Use as little or as much
|
- **Opinionated, but not stubborn.** Doom is a bundle of reasonable defaults and
|
||||||
of it as you like. Use it as-is as a complete Emacs distribution; disable
|
curated opinions, but all of it should be optional. Use as little or as much
|
||||||
everything and use it as a baseline for your own; or anywhere in between.
|
of it as you like.
|
||||||
- **Your system, your rules.** There are more ways to set up your programming
|
- **Your system, your rules.** There are more ways to set up your development
|
||||||
environment than there are dislikes on Youtube Rewind '18, so Doom and its
|
environment than there are dislikes on Youtube Rewind '18, so Doom leaves it
|
||||||
plugins promise not to *automatically* (and definitely not *silently*) install
|
to you. Doom will not *automatically* install system dependencies (and will
|
||||||
system dependencies. This means fonts, packages and programs. `doom doctor`
|
coerce its plugins not to do so either). Use `doom doctor` to figure out
|
||||||
will tell you what's missing though!
|
what's missing.
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
|
- Minimalistic good looks inspired by modern editors.
|
||||||
|
- A modular architecture for a more organized Emacs configuration.
|
||||||
|
- A custom elisp library to help simplify your config.
|
||||||
|
- (Optional) Vim-emulation powered by [evil-mode][url:evil-mode], including
|
||||||
|
ports of popular vim plugins and functionality.
|
||||||
|
- A declarative [package management system][doom:packages] (powered by
|
||||||
|
[straight.el][url:straight]) with a command line interface. Install packages
|
||||||
|
from anywhere, not just (M)ELPA.
|
||||||
- A curated set of sane defaults for all packages, all (major) OSes, and Emacs
|
- A curated set of sane defaults for all packages, all (major) OSes, and Emacs
|
||||||
itself.
|
itself.
|
||||||
- Support for *many* programming languages. Too many to list. Includes syntax
|
- Support for *many* programming languages. Too many to list. Includes syntax
|
||||||
highlighting, linters/checker integration, inline code evaluation, code
|
highlighting, linters/checker integration, inline code evaluation, code
|
||||||
completion (where possible), REPLs, documentation lookups, snippets, and more!
|
completion (where possible), REPLs, documentation lookups, snippets, and more!
|
||||||
- Support for *many* tools, like docker, pass, ansible, terraform, and more.
|
- Support for *many* tools, like docker, pass, ansible, terraform, and more.
|
||||||
- Minimalistic good looks inspired by modern editors.
|
|
||||||
- A modular architecture for a more organized Emacs configuration.
|
|
||||||
- A custom elisp library to help you simplify your config.
|
|
||||||
- A declarative [package management system][doom:packages] (powered by
|
|
||||||
[straight.el][url:straight]) with a command line interface. Install packages
|
|
||||||
from anywhere, not just (M)ELPA.
|
|
||||||
- Vim-emulation powered by [evil-mode][url:evil-mode], including ports of
|
|
||||||
popular vim plugins and functionality.
|
|
||||||
- A Spacemacs-esque [keybinding scheme][doom:bindings], centered around leader
|
- A Spacemacs-esque [keybinding scheme][doom:bindings], centered around leader
|
||||||
and localleader prefix keys (<kbd>SPC</kbd> and <kbd>SPC</kbd><kbd>m</kbd>, by
|
and localleader prefix keys (<kbd>SPC</kbd> and <kbd>SPC</kbd><kbd>m</kbd>, by
|
||||||
default).
|
default).
|
||||||
|
@ -107,9 +110,9 @@ to learn more about our favorite OS.
|
||||||
snippets libraries.
|
snippets libraries.
|
||||||
- Project search (and replace) utilities, powered by [ripgrep][url:ripgrep].
|
- Project search (and replace) utilities, powered by [ripgrep][url:ripgrep].
|
||||||
- Isolated and persistent workspaces (also substitutes for vim tabs).
|
- Isolated and persistent workspaces (also substitutes for vim tabs).
|
||||||
- An environment variables file generator and loader, so that Emacs can
|
- An envvar file generator that captures a snapshot of your shell environment
|
||||||
perfectly inherit your shell configuration.
|
for Doom to load at startup. No more struggling to get Emacs to inherit your
|
||||||
- Everything is optional!
|
`PATH`, among other things.
|
||||||
|
|
||||||
# Getting Help
|
# Getting Help
|
||||||
|
|
||||||
|
|
|
@ -214,7 +214,7 @@ into faces or ANSI codes depending on the type of sesssion we're in."
|
||||||
(defmacro print! (message &rest args)
|
(defmacro print! (message &rest args)
|
||||||
"Prints MESSAGE, formatted with ARGS, to stdout.
|
"Prints MESSAGE, formatted with ARGS, to stdout.
|
||||||
|
|
||||||
Always returns non-nil.
|
Returns non-nil if the message is a non-empty string.
|
||||||
|
|
||||||
Can be colored using (color ...) blocks:
|
Can be colored using (color ...) blocks:
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
;; refresh' after modifying this file!
|
;; refresh' after modifying this file!
|
||||||
|
|
||||||
|
|
||||||
;; These are used for a number of things, particularly for GPG configuration,
|
;; Some functionality uses this to identify you, e.g. GPG configuration, email
|
||||||
;; some email clients, file templates and snippets.
|
;; clients, file templates and snippets.
|
||||||
(setq user-full-name "John Doe"
|
(setq user-full-name "John Doe"
|
||||||
user-mail-address "john@doe.com")
|
user-mail-address "john@doe.com")
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,7 @@ It is integrated into Helpful, in Doom.
|
||||||
- [[#prependq][prependq!]]
|
- [[#prependq][prependq!]]
|
||||||
- [[#quiet][quiet!]]
|
- [[#quiet][quiet!]]
|
||||||
- [[#remove-hook][remove-hook!]]
|
- [[#remove-hook][remove-hook!]]
|
||||||
|
- [[#setq][setq!]]
|
||||||
- [[#setq-hook][setq-hook!]]
|
- [[#setq-hook][setq-hook!]]
|
||||||
- [[#unsetq-hook][unsetq-hook!]]
|
- [[#unsetq-hook][unsetq-hook!]]
|
||||||
- [[#use-package][use-package!]]
|
- [[#use-package][use-package!]]
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
;; their changes will override evil-collection's.
|
;; their changes will override evil-collection's.
|
||||||
;; 3. Ideally, we'd do away with evil-collection entirely. It changes too often,
|
;; 3. Ideally, we'd do away with evil-collection entirely. It changes too often,
|
||||||
;; introduces breaking bugs too frequently, and I don't agree with all their
|
;; introduces breaking bugs too frequently, and I don't agree with all their
|
||||||
;; design choices. Regardless, it does mork than it causes trouble, so it may
|
;; design choices. Regardless, it does more good than trouble, so it may be
|
||||||
;; be here to stay.
|
;; here to stay.
|
||||||
;; 4. Adds `+evil-collection-disabled-list', to make it easier for users to
|
;; 4. Adds `+evil-collection-disabled-list', to make it easier for users to
|
||||||
;; disable modules, and to reduce the effort required to maintain our copy of
|
;; disable modules, and to reduce the effort required to maintain our copy of
|
||||||
;; `evil-collection-list' (now I can just copy it from time to time).
|
;; `evil-collection-list' (now I can just copy it from time to time).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue