spacemacs/layers/+spacemacs
duianto 94585331ce Replace move-text with drag-stuff
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.
2021-03-14 00:29:46 +01:00
..
spacemacs-completion [ivy] Rebind C-k to C-M-k in ivy-reverse-i-search 2020-10-15 23:10:06 +02:00
spacemacs-defaults Bind frame keys using spacemacs|spacebind 2021-03-13 23:02:40 +01:00
spacemacs-editing Replace move-text with drag-stuff 2021-03-14 00:29:46 +01:00
spacemacs-editing-visual update copyright to 2020 2020-09-23 21:25:01 +02:00
spacemacs-evil Replace move-text with drag-stuff 2021-03-14 00:29:46 +01:00
spacemacs-language update copyright to 2020 2020-09-23 21:25:01 +02:00
spacemacs-layouts Fix #14213 remove dash and ht from core libs 2021-02-07 22:22:39 +01:00
spacemacs-misc update copyright to 2020 2020-09-23 21:25:01 +02:00
spacemacs-modeline update copyright to 2020 2020-09-23 21:25:01 +02:00
spacemacs-navigation Fix home buffer ace links 2021-02-13 09:38:23 +01:00
spacemacs-org [org] Update org-enable-valign 2021-01-24 22:58:34 +01:00
spacemacs-project update copyright to 2020 2020-09-23 21:25:01 +02:00
spacemacs-purpose Update call to purpose-x-magit-multi-on 2021-03-04 20:37:11 +01:00
spacemacs-visual update copyright to 2020 2020-09-23 21:25:01 +02:00