spacemacs/layers/+spacemacs/spacemacs-editing/README.org

3.5 KiB

spacemacs-editing layer

Description

This layer adds packages to improve editing with Spacemacs.

Features:

Customization

Undo Region

In normal state, u is bound to evil-undo which undo changes in the buffer. Emacs's builtin undo command in addition has the ability to undo changes in a selected region. But by default in visual state, u is bound to evil-downcase which downcases the selected text.

You can bound undo to u in visual state, by setting the variable vim-style-enable-undo-region to t in your ~/.spacemacs.

  (setq-default dotspacemacs-configuration-layers
                '((spacemacs-editing :variables
                                     vim-style-enable-undo-region t)))