summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2023-07-16 22:35:23 -0400
committermattkae <mattkae@protonmail.com>2023-07-16 22:35:23 -0400
commit3598c11ad35d8aa662e2e98a5092bcdf6459cf55 (patch)
treeec433b5da4148039d3332ee5e456d303e179269d
parentce205fd5dcc23c734bcf463cf91664978370d300 (diff)
Updates for org 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