From 3689850eeb323e4906603d1a670dae7696b5a492 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Sun, 18 Nov 2018 07:03:04 +0100 Subject: [PATCH] Switch from drag-stuff to objed --- configuration.org | 18 ++++++++++++------ customizations.el | 2 +- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/configuration.org b/configuration.org index ed9247f..5288741 100644 --- a/configuration.org +++ b/configuration.org @@ -1706,15 +1706,21 @@ I also want FlySpell to be enabled during Git commit message editing. (use-package org-projectile-helm) #+END_SRC -** Drag stuff +** Text object manipulation -To move lines around. +From the package description: + +#+BEGIN_QUOTE +Text objects are textual patterns like a line, a top level definition, a word, a sentence or any +other unit of text. When objed-mode is enabled, certain editing commands (configurable) will +activate objed and enable its modal editing features. +#+END_QUOTE #+BEGIN_SRC emacs-lisp -(use-package drag-stuff - :config - (drag-stuff-global-mode t) - (drag-stuff-define-keys)) +(use-package objed + :bind + (:map global-map + ("M-SPC" . objed-activate))) #+END_SRC ** Ace window diff --git a/customizations.el b/customizations.el index 962a7fd..9375e37 100644 --- a/customizations.el +++ b/customizations.el @@ -61,7 +61,6 @@ delight dired-k dockerfile-mode - drag-stuff editorconfig electric-case electric-operator @@ -139,6 +138,7 @@ ng2-mode nyan-mode nyan-prompt + objed org org-bullets org-jekyll