ff8cd06046
- lists were not correctly indented sometimes - **note** and such things do not exist in org - Note and Important - Change Feature list to heading - Change TODOS to actual org TODOS - Add TOC to python layer - list indentation - some typos I could not leave unchanged - TODO formatting - List indentation - typos - wrong markup fix conversion issues
45 lines
1.5 KiB
Org Mode
45 lines
1.5 KiB
Org Mode
#+TITLE: Better Defaults contribution layer for Spacemacs
|
|
|
|
[[file:img/emacs.png]]
|
|
|
|
* Table of Contents :TOC@4:
|
|
- [[#description][Description]]
|
|
- [[#install][Install]]
|
|
- [[#functions][Functions]]
|
|
- [[#smart-move-beginning-of-line][smart-move-beginning-of-line]]
|
|
- [[#key-bindings][Key bindings]]
|
|
|
|
* Description
|
|
|
|
This layer enhances the default commands of Emacs and is primarily intended to
|
|
be used with the =emacs= editing style as it does not change anything in the Vim
|
|
key bindings.
|
|
|
|
However the =emacs= editing style is not required, you can still use this layer
|
|
while you are using the =vim= editing style if you have some kind of mixed
|
|
style.
|
|
|
|
The commands defined in this layer are taken from various sources like [[https://github.com/bbatsov/prelude][Prelude]].
|
|
|
|
* Install
|
|
|
|
To use this contribution add it to your =~/.spacemacs=
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
(setq-default dotspacemacs-configuration-layers '(better-defaults))
|
|
#+END_SRC
|
|
|
|
* Functions
|
|
|
|
** smart-move-beginning-of-line
|
|
|
|
Pressed one time, go to the first non-whitespace character of the line, pressed
|
|
again, go to the beginning of the line.
|
|
|
|
* Key bindings
|
|
|
|
| Key Binding | Description |
|
|
|-------------+----------------------------------------------------------------------------------|
|
|
| ~C-a~ | smart beginning of line |
|
|
| ~C-y~ | Automatically indenting after pasting. With prefix argument, paste text as it is |
|
|
|