Emacs config utilizing prelude as a base
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

151 lines
6.1 KiB

12 years ago
12 years ago
13 years ago
5 years ago
14 years ago
14 years ago
8 years ago
12 years ago
  1. [![License GPL 3][badge-license]](http://www.gnu.org/licenses/gpl-3.0.txt)
  2. [![Patreon](https://img.shields.io/badge/patreon-donate-orange.svg)](https://www.patreon.com/bbatsov)
  3. Emacs Prelude
  4. =============
  5. Prelude is an Emacs distribution that aims to enhance the default
  6. Emacs experience. Prelude alters a lot of the default settings,
  7. bundles a plethora of additional packages and adds its own core
  8. library to the mix. The final product offers an easy to use Emacs
  9. configuration for Emacs newcomers and lots of additional power for
  10. Emacs power users.
  11. Prelude is compatible **ONLY with GNU Emacs 25.1+**. In general you're
  12. advised to always run Prelude with the latest stable Emacs release.
  13. You can support the development of Prelude via
  14. [GitHub Sponsors](https://github.com/sponsors/bbatsov),
  15. [ko-fi](https://ko-fi.com/bbatsov),
  16. [PayPal](https://www.paypal.me/bbatsov) and
  17. [Patreon](https://www.patreon.com/bbatsov).
  18. ## Features
  19. * Improved UX, that's still in line with Emacs traditions
  20. * Sane defaults of baseline Emacs functionality
  21. * Automatic installation of many major programming modes on demand
  22. * A curated set of 3rd party packages to enhance the base functionality
  23. * Simple modular architecture
  24. * Easy customization
  25. Check out our [user manual](https://prelude.emacsredux.com) for more information.
  26. ## Fast Forward
  27. Assuming you're using an Unix-like OS (`*BSD`, `GNU/Linux`, `macOS`, `Solaris`,
  28. etc), you already have a recent version of Emacs installed, as well as `git` & `curl` you
  29. can skip the whole manual and just type in your favorite shell the
  30. following command:
  31. ```shellsession
  32. $ curl -L https://git.io/epre | sh
  33. ```
  34. You can now power up your Emacs, sit back and enjoy Prelude.
  35. There are two environment variables you can use to control the
  36. source repository and the installation directory. To change the
  37. installation directory:
  38. ```shellsession
  39. $ export PRELUDE_INSTALL_DIR="$HOME/.emacs.d" && curl -L https://github.com/bbatsov/prelude/raw/master/utils/installer.sh | sh
  40. ```
  41. To change the source repository:
  42. ```shellsession
  43. $ export PRELUDE_URL="https://github.com/yourname/prelude.git" && curl -L https://github.com/bbatsov/prelude/raw/master/utils/installer.sh | sh
  44. ```
  45. Note that the installer will back up any existing `.emacs` file or
  46. `.emacs.d` since it will unpack Prelude's code in `.emacs.d`. If
  47. you're doing a manual install make sure you don't have a `.emacs` file
  48. or back up your existing `.emacs.d` directory manually.
  49. **Important:** Don't forget to adjust your `prelude-modules.el` file in your personal directory
  50. once the installation is done. By default most of the modules
  51. that ship with Prelude are **not** loaded.
  52. ## Philosophy
  53. Prelude's philosophy is quite simple:
  54. * simple
  55. * easy to understand and extend
  56. * stable
  57. * a foundation for you to build upon, as opposed to some end-user product
  58. This means that it intentionally doesn't pack all the bells and whistles that it could.
  59. Prelude aims to enhance the classic Emacs experience without deviating a lot from it - e.g.
  60. it would never enable something like `evil-mode` (vim keybindings) by default and so on.
  61. All the third-party packages that it bundles are carefully vetted and are known to be of
  62. good quality and to have reliable maintainers. That generally means that Prelude's unlikely
  63. to immediate adopt some shiny new package, that has established tried and true alternatives.
  64. In practice this translates to the following:
  65. * Prelude is less opinionated than distros like Spacemacs and Doom Emacs (meaning it's closer to the standard Emacs experience)
  66. * Prelude installs relatively few additional packages by default
  67. * Most modules in Prelude are opt-in instead of opt-out (you'll notice the default config enables only a handful of modules)
  68. * Most modules (e.g. modules for programming languages) are pretty short and feature setup only for essential packages (in some cases that be just the major mode for the language in question)
  69. * You don't really need to track Prelude's upstream - you're encouraged to just fork it and use it as the basis for your own configuration.
  70. Remember that the ultimate goal of every Emacs user is to create an Emacs setup that reflects their own experience, needs, goals and ideas. Just like Lisp,
  71. Emacs is nothing but a raw building material for the perfect editing experience.
  72. More installation options are discussed [here](https://prelude.emacsredux.com/en/latest/installation/).
  73. ## User Manual
  74. While Emacs Prelude is pretty simple at its core, it does have some specifics that
  75. are worth learning - e.g. configuration options, load order of modules and personal settings
  76. and so on.
  77. Check out our [user manual](https://prelude.emacsredux.com) for more information.
  78. You can also find a lot of information about specific Prelude features and the rationale behind them on
  79. my Emacs blog [Emacs Redux](https://emacsredux.com).
  80. ## crux and super-save
  81. A lot of utility commands that used to be part of Prelude were eventually extracted to the [crux](https://github.com/bbatsov/crux) package,
  82. so they'd be easily available to more people.
  83. These days Prelude simply depends on that package.
  84. The [super-save](https://github.com/bbatsov/super-save) package also used to be part of Prelude in the past.
  85. ## Known issues
  86. Check out the project's
  87. [issue list](https://github.com/bbatsov/prelude/issues?sort=created&direction=desc&state=open)
  88. a list of unresolved issues. By the way - feel free to fix any of them
  89. and send me a pull request. :-)
  90. ## Support
  91. Support is available via several channels:
  92. * Prelude's Google Group <emacs-prelude@googlegroups.com>
  93. * Prelude's Freenode channel (`#prelude-emacs`)
  94. * [Gitter](https://gitter.im/bbatsov/prelude)
  95. ## Contributors
  96. Here's a [list](https://github.com/bbatsov/prelude/contributors) of all the people who have contributed to the
  97. development of Emacs Prelude.
  98. ## Bugs & Improvements
  99. Bug reports and suggestions for improvements are always
  100. welcome. GitHub pull requests are even better! :-)
  101. ## License
  102. Copyright © 2011-2020 Bozhidar Batsov and
  103. [contributors](https://github.com/bbatsov/prelude/contributors).
  104. Distributed under the GNU General Public License, version 3
  105. [badge-license]: https://img.shields.io/badge/license-GPL_3-green.svg