origami.el icon indicating copy to clipboard operation
origami.el copied to clipboard

Feature: origami-backward-fold-outer-level

Open jplindstrom opened this issue 3 years ago • 1 comments

A common and extremely useful navigation is to back out of the current folding level.

In the similar outline-mode, this is outline-up-heading.

I would love to see this in origami.

jplindstrom avatar Nov 19 '22 16:11 jplindstrom

I have something like this bound to a key, does this work?

(lambda nil
  (interactive)
  (or
   (call-interactively 'origami-backward-fold-same-level)
   (call-interactively 'origami-previous-fold)))

gregsexton avatar Nov 21 '22 10:11 gregsexton