summaryrefslogtreecommitdiff
path: root/.emacs.d/init-org.el
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-08-02 08:29:24 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-08-02 08:29:24 -0700
commit204ef6205d0eb112321e67ea6adf42f2f8d7495d (patch)
tree2b15f5b947be63cf53eb370bdbeb1b375767b6bb /.emacs.d/init-org.el
parent0638efa0112523f030868cdcb082671a9aed8e9f (diff)
downloaddotfiles-204ef6205d0eb112321e67ea6adf42f2f8d7495d.tar.gz
swap some org-mode keys for the sake of text terminals
Diffstat (limited to '.emacs.d/init-org.el')
-rw-r--r--.emacs.d/init-org.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/.emacs.d/init-org.el b/.emacs.d/init-org.el
index 5822ddbf..913b0b7a 100644
--- a/.emacs.d/init-org.el
+++ b/.emacs.d/init-org.el
@@ -612,6 +612,13 @@ different occasions."
;; this works well whether or not `org-adapt-indentation' is set for a buffer
(define-key org-mode-map (kbd "RET") #'org-return-indent)
+;; swap, so that more regularly used function on the key that's usable in text
+;; terminals
+(define-key org-mode-map "\M-{" #'org-backward-paragraph)
+(define-key org-mode-map "\M-}" #'org-forward-paragraph)
+(define-key org-mode-map [C-up] #'org-backward-element)
+(define-key org-mode-map [C-down] #'org-forward-element)
+
;;;; Miscellaneous functions