Doc: rewrite core pillars to be straight to the point

This commit is contained in:
syl20bnr 2016-01-03 12:57:34 -05:00
parent 2ecea11204
commit 7990b8d167
1 changed files with 12 additions and 33 deletions

View File

@ -186,48 +186,27 @@
- [[Thank you][Thank you]] - [[Thank you][Thank you]]
* Core Pillars * Core Pillars
Four core pillars: Mnemonic, Discoverability, Consistency, "Crowd-Configured". Four core pillars: Mnemonic, Discoverable, Consistent and "Crowd-Configured".
If any of these core pillars is violated open an issue and we'll fix it. If any of these core pillars is violated open an issue and we'll try our best
to fix it.
** Mnemonic ** Mnemonic
Spacemacs organizes key bindings by mnemonic namespaces as much as possible. Key bindings are organized using mnemonic prefixes like ~b~ for buffer, ~p~ for
If you are looking for commands to operate on your buffer, they are right under project, ~s~ for search, ~h~ for help etc...
~SPC b~, if you want to operate on your project, then it is ~SPC p~, etc...
** Discoverable ** Discoverable
Spacemacs comes with a dedicated major mode =spacemacs-buffer-mode=. Its goal is Innovative real-time display of available key bindings. Simple query
to give useful feedbacks and easily perform maintenance tasks. system to quickly find available layers, packages and more.
It also comes with dedicated [[https://github.com/emacs-helm/helm][helm]] sources to quickly find layers, packages and
more.
[[https://github.com/justbur/emacs-which-key][which-key]] is enabled by default, it will display all the available key bindings
in a dedicated popup buffer.
** Consistent ** Consistent
Similar functionalities should have the same key binding no matter which major Similar functionalities have the same key binding everywhere thanks to a
is currently active. For instance if you are looking for the definition of a clearly defined set of conventions. Documentation is mandatory for any layer
function, the binding is ~SPC m g g~, =m= for =major mode= and =g g= for =go to that ships with Spacemacs.
thing at point=. No matter what is the major mode it is the same binding to
perform this action.
This is also true for the documentation, each configuration layer comes with an
associated =README.org= file with the same base layout.
The consistency core pillar is supported by a convention file: [[file:CONVENTIONS.org][CONVENTIONS]]
** Crowd-Configured ** Crowd-Configured
By defining an very light structure called =configuration layer= which is easy Community-driven configuration provides curated packages tuned by power users
to understand, Spacemacs makes it easy to contribute additional support. and bugs are fixed quickly.
The conventions in [[file:CONVENTIONS.org][CONVENTIONS]] make it easy to get
the spacemacs way and keep consistency even if there are a lot of contributions.
=Crowd-configuration= is the most powerful pillar of Spacemacs. Anybody can
submit upstream improvements to configuration layers or a whole new one. Any
user can easily and directly use this layer by adding it to a list in a dotfile.
It is even possible to exclude /any/ unwanted packages.
* Goals * Goals
- *Bring the power of modal editing* to the powerful Emacs editing platform. - *Bring the power of modal editing* to the powerful Emacs editing platform.