Better Defaults layer
Table of ContentsClose
1 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 Prelude.
2 Features
3 Install
To use this configuration layer, add it to your ~/.spacemacs
. You will need to
add better-defaults
to the existing dotspacemacs-configuration-layers
list in
this file.
4 Configuration
Choose if C-a
first brings you to the beginning of the line or the beginning of
the code (first non-whitespace character).
(better-defaults :variables better-defaults-move-to-beginning-of-code-first t)
Choose if C-e
first brings you to the end of the line or the end of the code
(before or after comments).
(better-defaults :variables better-defaults-move-to-end-of-code-first nil)