summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/general.el4
-rw-r--r--lisp/text.el12
2 files changed, 9 insertions, 7 deletions
diff --git a/lisp/general.el b/lisp/general.el
index 55e1fa4..6d6973c 100644
--- a/lisp/general.el
+++ b/lisp/general.el
@@ -332,7 +332,9 @@
(use-package drag-stuff
:config
(drag-stuff-global-mode)
- (drag-stuff-define-keys)
+ ;; Note: I do NOT use (drag-stuff-define-keys) because I want M-<LEFT/RIGHT> to work in org mode
+ (define-key drag-stuff-mode-map (drag-stuff--kbd 'up) 'drag-stuff-up)
+ (define-key drag-stuff-mode-map (drag-stuff--kbd 'down) 'drag-stuff-down)
)
;; Copy the entire buffer.
diff --git a/lisp/text.el b/lisp/text.el
index 8a0274c..7072c5e 100644
--- a/lisp/text.el
+++ b/lisp/text.el
@@ -14,12 +14,12 @@
ispell-dictionary "en_US")
)
-(use-package flyspell
- :ensure t
- :hook (text-mode . flyspell-mode)
- :config
- (set-face-attribute 'flyspell-incorrect nil :foreground nil :weight 'normal :underline '(:color "red" :style wave))
- )
+;; (use-package flyspell
+;; :ensure t
+;; :hook (text-mode . flyspell-mode)
+;; :config
+;; (set-face-attribute 'flyspell-incorrect nil :foreground nil :weight 'normal :underline '(:color "red" :style wave))
+;; )
(provide 'text)
;;; text.el ends here