Difference between revisions of "Prelude"

From WikEmacs
Jump to navigation Jump to search
(anh em may cung voi xem nha)
(Undo revision 2852 by 91.121.152.54 (talk))
Line 1: Line 1:
New xrumer mod here. New xrumer mod here. New xrumer mod here. New xrumer mod here. New xrumer mod here. New xrumer mod here. New xrumer mod here. New xrumer mod here.
+
{{Package
 +
|name=Emacs Prelude
 +
|description=Advanced Emacs config
 +
|author=[[User:Bozhidar|Bozhidar Batsov]]
 +
|maintainer=[[User:Bozhidar|Bozhidar Batsov]]
 +
|source=https://github.com/bbatsov/prelude
 +
}}
 +
 
 +
'''Prelude''' has the goal to ease the initial Emacs setup process and to provide you with a much more powerful and productive experience than that you get out of the box. By using Emacs Prelude you're basically getting a "Get me out of the Prelude, I just want to use Emacs" card.
 +
 
 +
Emacs Prelude is compatible ONLY with GNU Emacs 24. While Emacs 24 is not yet officially released it's a rock solid piece of software more than suitable for everyday work. There is no good excuse not to use Emacs 24!
 +
 
 +
= Basic setup =
 +
 
 +
Assuming you're using an Unix-like OS (*BSD, GNU/Linux, OS X, Solaris, etc), you already have Emacs 24 installed, as well as git & curl you can skip the whole manual and just type in your favorite shell the following command:
 +
 
 +
<syntaxhighlight lang="bash">
 +
curl -L https://github.com/bbatsov/prelude/raw/master/utils/installer.sh | sh
 +
</syntaxhighlight>
 +
 
 +
You can now power up your Emacs, sit back and enjoy Prelude.
 +
 
 +
= Helpful keybindings =
 +
 
 +
; {{Keys|C-c f}}
 +
: Find a recently accessed file.
 +
 
 +
; {{Keys|C-c r}}
 +
: Rename file and buffer.
 +
 
 +
<!------------------------------------------------------------------------->
 +
= Common Customization =
 +
<!-- Customization common to all platforms goes here -->
 +
 
 +
You can tweak Prelude's config by adding '''.el''' files under the
 +
'''personal''' directory.
 +
 
 +
== Change the default theme  ==
 +
 
 +
Emacs Prelude uses the Zenburn theme by default, but you can easily
 +
change this:
 +
 
 +
<syntaxhighlight lang="lisp">
 +
(load-theme 'solarized-dark t)
 +
</syntaxhighlight>
 +
 
 +
<!------------------------------------------------------------------------->
 +
 
 +
= [[GNU/Linux]] =
 +
<!-- Customization/Notes specific to GNU/Linux goes here -->
 +
 
 +
 
 +
<!------------------------------------------------------------------------->
 +
 
 +
= [[OS X]] =
 +
<!-- Customization/Notes specific to OS X goes here -->
 +
 
 +
 
 +
<!------------------------------------------------------------------------->
 +
 
 +
= [[Windows]] =
 +
<!-- Customization/Notes specific to Windows goes here -->
 +
 
 +
 
 +
= See Also =
 +
[[Emacs Starter Kit]]
 +
 
 +
 
 +
<!------------------------------------------------------------------------->
 +
 
 +
= Project Pages =
 +
* [http://batsov.com/prelude Project Page]
 +
* [http://github.com/bbatsov/prelude GitHub]
 +
* [http://github.com/bbatsov/prelude-modules Add-ons for Prelude]
 +
 
 +
<!------------------------------------------------------------------------->
 +
 
 +
= Tutorial Pages =
 +
 
 +
<!------------------------------------------------------------------------->
 +
<!-- Add categories based on user-level (beginner etc), user-role (programming, emacs contributor etc), platform (windows, linux etc) or work flow (text editing, document authoring etc)  -->
 +
 
 +
[[Category:Beginner]][[Category:Starter Kit]]

Revision as of 12:35, 3 June 2012

Emacs Prelude
Description Advanced Emacs config
Author Bozhidar Batsov
Maintainer Bozhidar Batsov
Source https://github.com/bbatsov/prelude

Prelude has the goal to ease the initial Emacs setup process and to provide you with a much more powerful and productive experience than that you get out of the box. By using Emacs Prelude you're basically getting a "Get me out of the Prelude, I just want to use Emacs" card.

Emacs Prelude is compatible ONLY with GNU Emacs 24. While Emacs 24 is not yet officially released it's a rock solid piece of software more than suitable for everyday work. There is no good excuse not to use Emacs 24!

Basic setup

Assuming you're using an Unix-like OS (*BSD, GNU/Linux, OS X, Solaris, etc), you already have Emacs 24 installed, as well as git & curl you can skip the whole manual and just type in your favorite shell the following command:

curl -L https://github.com/bbatsov/prelude/raw/master/utils/installer.sh | sh

You can now power up your Emacs, sit back and enjoy Prelude.

Helpful keybindings

[C-c f]
Find a recently accessed file.
[C-c r]
Rename file and buffer.

Common Customization

You can tweak Prelude's config by adding .el files under the personal directory.

Change the default theme

Emacs Prelude uses the Zenburn theme by default, but you can easily change this:

(load-theme 'solarized-dark t)


GNU/Linux

OS X

Windows

See Also

Emacs Starter Kit


Project Pages


Tutorial Pages