summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-05-15 18:51:38 +0100
committerAlan Pearce2014-05-15 18:51:38 +0100
commit26c5a8a3fb827310d09019a0002fe87cd821ec88 (patch)
treeba9dbf9a4190b69a8ce02a15db7a8b54935b76d2
parent3fc8e2a13aae782204a2e29e84f02b5e84336723 (diff)
downloadnixfiles-26c5a8a3fb827310d09019a0002fe87cd821ec88.tar.lz
nixfiles-26c5a8a3fb827310d09019a0002fe87cd821ec88.tar.zst
nixfiles-26c5a8a3fb827310d09019a0002fe87cd821ec88.zip
Emacs: switch from shuffle-lines to move-text
-rw-r--r--tag-emacs/emacs.d/Cask1
-rw-r--r--tag-emacs/emacs.d/init.el5
2 files changed, 3 insertions, 3 deletions
diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask
index 3affae47..c58f5549 100644
--- a/tag-emacs/emacs.d/Cask
+++ b/tag-emacs/emacs.d/Cask
@@ -38,6 +38,7 @@
 (depends-on "lua-mode")
 (depends-on "magit")
 (depends-on "markdown-mode")
+(depends-on "move-text")
 (depends-on "multi-term")
 (depends-on "multiple-cursors")
 (depends-on "mustache-mode")
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 14da0089..b9051e5e 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -758,9 +758,8 @@
             (if (eq this-command 'eval-expression)
                 (paredit-mode 1)))))
 
-(req-package shuffle-lines
-  :bind (("C-S-<up>" . move-line-up)
-         ("C-S-<down>" . move-line-down)))
+(req-package move-text
+  :config (move-text-default-bindings))
 
 (req-package smart-forward
   :bind (("C-M-u" . smart-up)