1
0
Fork 0

[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.
This commit is contained in:
Tom Willemse 2021-04-25 18:01:45 -07:00
parent 0e46d80c6b
commit a783346a79

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; 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) ;; 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 ;; 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-pretty-entities t)
(setq org-return-follows-link t) (setq org-return-follows-link 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-src-fontify-natively t)
(setq org-tags-column -72) (setq org-tags-column -72)
(setq org-tags-sort-function #'string<) (setq org-tags-sort-function #'string<)