org: replaced org-cycle with doom/org-toggle-fold
I didn't like the extra keypress to refold trees that I only intended to peek into. If I want to see the whole tree, I go into it and unfold what I needed. Note, you can still open the entire subtree with zo and cycle the entire page with zA or zO.
This commit is contained in:
parent
f60d28bab8
commit
cbab4e4ee4
2 changed files with 14 additions and 1 deletions
|
@ -112,6 +112,16 @@ wrong places)."
|
|||
(delete-char 4))
|
||||
(insert "[ ] ")))))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom/org-toggle-fold ()
|
||||
"Toggle the local fold at the point (as opposed to cycling through all levels
|
||||
with `org-cycle')."
|
||||
(interactive)
|
||||
(cond ((org-at-heading-p)
|
||||
(outline-toggle-children))
|
||||
((org-at-item-p)
|
||||
(org-cycle))))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom/org-dwim-at-point ()
|
||||
"Do-what-I-mean at point. This includes following timestamp links, aligning
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue