Fix code examples markup
This commit is contained in:
parent
dea250ba88
commit
a09faa5f1f
4 changed files with 25 additions and 25 deletions
|
@ -17,13 +17,13 @@ select another theme entirely).
|
|||
To disable Zenburn just put in your personal config the following
|
||||
line:
|
||||
|
||||
```lisp
|
||||
```emacs-lisp
|
||||
(disable-theme 'zenburn)
|
||||
```
|
||||
|
||||
Or you can use another theme altogether by adding something in `personal/preload` like:
|
||||
|
||||
```lisp
|
||||
```emacs-lisp
|
||||
(setq prelude-theme 'tango)
|
||||
```
|
||||
|
||||
|
@ -32,7 +32,7 @@ Or you can use another theme altogether by adding something in `personal/preload
|
|||
To use a non-built-in theme, like [Solarized](https://github.com/bbatsov/solarized-emacs),
|
||||
you'll have to install it from MELPA first by `M-x package-install RET solarized-theme`. Then add
|
||||
|
||||
``` lisp
|
||||
```emacs-lisp
|
||||
(setq prelude-theme 'solarized-dark)
|
||||
```
|
||||
in `personal/preload`.
|
||||
|
@ -40,7 +40,7 @@ in `personal/preload`.
|
|||
Finally, if you don't want any theme at all, you can add this to your
|
||||
`personal/preload`:
|
||||
|
||||
```lisp
|
||||
```emacs-lisp
|
||||
(setq prelude-theme nil)
|
||||
```
|
||||
|
||||
|
@ -79,13 +79,13 @@ in the future.
|
|||
If you'd like to add some auto installation of packages in your
|
||||
personal config use the following code:
|
||||
|
||||
```lisp
|
||||
```emacs-lisp
|
||||
(prelude-require-packages '(some-package some-other-package))
|
||||
```
|
||||
|
||||
If you require just a single package you can also use:
|
||||
|
||||
```lisp
|
||||
```emacs-lisp
|
||||
(prelude-require-package 'some-package)
|
||||
```
|
||||
|
||||
|
@ -101,7 +101,7 @@ Although `whitespace-mode` is awesome, some people might find it too
|
|||
intrusive. You can disable it in your
|
||||
personal config with the following bit of code:
|
||||
|
||||
```lisp
|
||||
```emacs-lisp
|
||||
(setq prelude-whitespace nil)
|
||||
```
|
||||
|
||||
|
@ -109,7 +109,7 @@ If you like `whitespace-mode`, but prefer it to not automatically
|
|||
cleanup your file on save, you can disable that behavior by setting
|
||||
`prelude-clean-whitespace-on-save` to `nil` in your config file with:
|
||||
|
||||
```lisp
|
||||
```emacs-lisp
|
||||
(setq prelude-clean-whitespace-on-save nil)
|
||||
```
|
||||
|
||||
|
@ -117,7 +117,7 @@ cleanup your file on save, you can disable that behavior by setting
|
|||
|
||||
If you're not fond of spellchecking on the fly:
|
||||
|
||||
```lisp
|
||||
```emacs-lisp
|
||||
(setq prelude-flyspell nil)
|
||||
```
|
||||
|
||||
|
@ -126,7 +126,7 @@ If you're not fond of spellchecking on the fly:
|
|||
If you prefer not to automatically format your file on save, you can disable that behavior by setting
|
||||
`prelude-format-on-save` to `nil` in your config file with:
|
||||
|
||||
```lisp
|
||||
```emacs-lisp
|
||||
(setq prelude-format-on-save nil)
|
||||
```
|
||||
|
||||
|
|
|
@ -54,14 +54,14 @@ far as navigation is concerned at least).
|
|||
If you'd like to be take this a step further and disable the arrow key navigation
|
||||
completely put this in your personal config:
|
||||
|
||||
```lisp
|
||||
```emacs-lisp
|
||||
(setq guru-warn-only nil)
|
||||
```
|
||||
|
||||
To disable `guru-mode` completely add the following snippet to your
|
||||
personal Emacs config:
|
||||
|
||||
```lisp
|
||||
```emacs-lisp
|
||||
(setq prelude-guru nil)
|
||||
```
|
||||
|
||||
|
@ -71,7 +71,7 @@ Prelude overrides `C-a` to behave as described
|
|||
[here](http://emacsredux.com/blog/2013/05/22/smarter-navigation-to-the-beginning-of-a-line/). If
|
||||
you don't like that simply add this to your personal config:
|
||||
|
||||
```lisp
|
||||
```emacs-lisp
|
||||
(global-set-key [remap move-beginning-of-line]
|
||||
'move-beginning-of-line)
|
||||
```
|
||||
|
@ -86,13 +86,13 @@ The sorting algorithm `flx` uses is more complex, but yields better results.
|
|||
On slower machines, it may be necessary to lower `flx-ido-threshold` to
|
||||
ensure a smooth experience.
|
||||
|
||||
```lisp
|
||||
```emacs-lisp
|
||||
(setq flx-ido-threshold 1000)
|
||||
```
|
||||
|
||||
You can always disable the improved sorting algorithm all together like this:
|
||||
|
||||
```lisp
|
||||
```emacs-lisp
|
||||
(flx-ido-mode -1)
|
||||
```
|
||||
|
||||
|
|
|
@ -135,7 +135,7 @@ Prelude does not mess by default with the standard mapping of `Command` (to `Sup
|
|||
|
||||
If you want to swap them add this to your personal config:
|
||||
|
||||
```lisp
|
||||
```emacs-lisp
|
||||
(setq mac-command-modifier 'meta)
|
||||
(setq mac-option-modifier 'super)
|
||||
```
|
||||
|
@ -239,13 +239,13 @@ in which case you can disable the binding in your `personal.el` file by setting
|
|||
its command to `nil`. For example, to disable the `jj` key-chord add the
|
||||
following line:
|
||||
|
||||
```lisp
|
||||
```emacs-lisp
|
||||
(key-chord-define-global "jj" nil)
|
||||
```
|
||||
|
||||
If you're an `evil-mode` user you'll probably do well to disable `key-chord-mode` altogether:
|
||||
|
||||
```lisp
|
||||
```emacs-lisp
|
||||
(key-chord-mode -1)
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue