emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Fold headline from inside of body?
@ 2019-08-27  8:11 henry35
  2019-08-27  8:55 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: henry35 @ 2019-08-27  8:11 UTC (permalink / raw)
  To: emacs-orgmode

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

Hello

Is it possible to fold a headline (and only this specific headline) while the cursor is positioned inside the body?
The methods I know of ( [TAB] ) requires that the cursor is positioned on the headline, (Shift-[TAB] acts on the whole org-file and I want to avoid folding the entire document).
Thanks for your help.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Fold headline from inside of body?
  2019-08-27  8:11 Fold headline from inside of body? henry35
@ 2019-08-27  8:55 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2019-08-27  8:55 UTC (permalink / raw)
  To: henry35; +Cc: emacs-orgmode

Hello,

<henry35@keemail.me> writes:

> Is it possible to fold a headline (and only this specific headline) while the cursor is positioned inside the body?
> The methods I know of ( [TAB] ) requires that the cursor is positioned on the headline, (Shift-[TAB] acts on the whole org-file and I want to avoid folding the entire document).

Well, `C-c C-p TAB' does that. :)

You can bind it to something else if you absolutely need to make it
shorter.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-27  8:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-27  8:11 Fold headline from inside of body? henry35
2019-08-27  8:55 ` Nicolas Goaziou

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).