emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: JD Smith <jdtsmith@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Mention outli, and h speed-key
Date: Thu, 9 Mar 2023 23:00:34 -0500	[thread overview]
Message-ID: <7AD95B6C-38FB-41AA-8574-4B9C9AE3C481@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1255 bytes --]

Outli <https://github.com/jdtsmith/outli> is a small mode I wrote which very closely follows org in style and uses the same speed-keys on comments-as-headlines.  Basically if you know org, outli will be usable “out of the box”.  It might be good to mention outli in the Worg page <https://orgmode.org/worg/org-tutorials/org-outside-org.html> on org capabilities outside of org.

To quote from the README:

> • How does this relate to outline-minor-mode?
> 
> outli is mostly a convenient wrapper around functionality that is already built-in to outline, adding a few things like narrow-to-subtree and insert-heading-respect-content (ala org). And of course the speed-key bindings, automatic comments-as-header patterns, and styling.

One speed key I added to outli I really miss in org, so I added it:

(if-let ((pos (cl-position '("Outline Visibility") org-speed-commands :test #'equal)))
      (cl-pushnew '("h" . outline-hide-sublevels) (nthcdr (1+ pos) org-speed-commands)))

Basically h=outline-hide-sublevels.  This allows you to quickly collapse the entire tree to the level [h]ere.  It’s a wonderful, fast compromise between the ease of Shift-Tab and org’s more targeted folding capabilities.

Thanks for your work on org!

[-- Attachment #2: Type: text/html, Size: 2039 bytes --]

             reply	other threads:[~2023-03-10  4:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-10  4:00 JD Smith [this message]
2023-03-24  9:11 ` Mention outli, and h speed-key Jean Louis
2023-03-25  2:21   ` JD Smith
2023-03-25 14:36     ` Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7AD95B6C-38FB-41AA-8574-4B9C9AE3C481@gmail.com \
    --to=jdtsmith@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).