94585331ce
Just like: https://github.com/emacsfodder/move-text https://github.com/rejeep/drag-stuff.el also drags one or more (region) lines up or down. But it also allows for dragging left and right (across end of lines): - a word: changing place with the next or previous word. - a region: moving it one character at a time to the left or right. Added a new key binding: `SPC x .` that opens the: ``` Drag Stuff Transient State [k/K] up [h/H] left [q] quit [j/J] down [l/L] right ``` The `move-text` package isn't removed, even though it isn't used anymore in Spacemacs. Because the `evil-unimpaired` elpa directory is generated from the local Spacemacs `evil-unimpaired.el` file. https://github.com/syl20bnr/spacemacs/blob/develop/layers/%2Bspacemacs/spacemacs-evil/local/evil-unimpaired/evil-unimpaired.el Therefore the `evil-unimpaired` key bindings `[e` and `]e` still call the `move-text` commands. Until the `evil-unimpaired` elpa directory has been removed and regenerated by restarting Spacemacs. Then they will call the new `drag-stuff` commands. I don't know if/when the `move-text` package can be removed in the future. |
||
---|---|---|
.. | ||
local/spacemacs-whitespace-cleanup | ||
funcs.el | ||
packages.el | ||
README.org |
spacemacs-editing layer
Description
This layer adds packages to improve editing with Spacemacs.
Features:
- Support for automatic indentation of code via
aggressive-indent
. - Support for jumping to chars using a decision tree via
avy
. - Improvements for evaluating sexps via
eval-sexp-fu
. - Selecting and editing of multiple text elements via
expand-region
. - Support for editing files in hex format via
hexl
. - Deletion of consecutive horizontal whitespace with a single key
via
hungry-delete
. - Support for selecting, copying and opening links using
avy
vialink-hint
. - Adding of sample text via
lorem-ipsum
. - Transient state for moving text via
move-text
. - Support for folding of code via
origami
andevil-vimish-fold
. - Support for password generation via
password-generator
. - Support for improving parenthesis handling via
smartparens
. - Automatic whitespace cleanup on save via
spacemacs-whitespace-cleanup
. - Support for converting definitions to certain styles via
string-inflection
. - Support for generating UUIDs via
uuidgen
. - Support for conversion between Emacs regexps and PCRE regexps.
- Support for persistent scratch via
persistent-scratch
. - Support for unkillable scratch via
unkillable-scratch
. - Support for sorting (press
s
) viadired-quick-sort
- Support for
evil-easymotion
if the editing style isvim
orhybrid
. - Support for cycling between multi line block styles via
multi-line
. - Support for editing strings inplace via
string-edit