aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2021-04-25 18:01:45 -0700
committerGravatar Tom Willemse2021-04-25 18:01:45 -0700
commita783346a798254c9d7e72a59b2288f04b260c7cb (patch)
treea265e90969f98e16b6f6c45a7410263fb6eb2118
parent0e46d80c6b5cbd78dcf8c969bb442d46ceb49117 (diff)
downloademacs-config-a783346a798254c9d7e72a59b2288f04b260c7cb.tar.gz
emacs-config-a783346a798254c9d7e72a59b2288f04b260c7cb.zip
[oni-org] Specialize ‘C-a’ and ‘C-e’ for org elements
When on a heading, first move to the beginning of the heading title, and then to the beginning of the line. For moving to the end, first move to the end of the title, and then past any tags.
-rw-r--r--oni-org/oni-org.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el
index d84db26..bc44064 100644
--- a/oni-org/oni-org.el
+++ b/oni-org/oni-org.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2021.0425.180045
+;; Version: 2021.0425.180137
;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org-plus-contrib org-bullets org-edna diminish all-the-icons org-journal)
;; This program is free software; you can redistribute it and/or modify
@@ -211,6 +211,7 @@ _l_: Store link ^^ _j_: Journal entry
(setq org-pretty-entities t)
(setq org-return-follows-link t)
(setq org-return-follows-link t)
+(setq org-special-ctrl-a/e t)
(setq org-src-fontify-natively t)
(setq org-tags-column -72)
(setq org-tags-sort-function #'string<)