简体   繁体   English

Emacs组织模式:默认情况下如何隐藏枚举列表项描述

[英]Emacs org-mode: how to hide the enumerated list items descriptions by default

Suppose we have this org file: 假设我们有这个组织文件:

1. first item
   description of the first item
2. second item
   description of the second item
3. third item
   description of the third item

If I move the cursor to all the top items, and click <tab> , it will hide the descrption. 如果将光标移到所有顶部项目,然后单击<tab> ,它将隐藏说明。 And the file will look like this: 该文件将如下所示:

1. first item...
2. second item...
3. third item...

But when I open the file all items are open, which is uncomfortable for me. 但是当我打开文件时,所有项目都打开了,这对我来说很不舒服。 How can I hide them by default, leaving just dots? 默认情况下,如何隐藏它们,只留下点?

That's strange, for me this is the default behavior to hide everything except the top level. 这很奇怪,对我来说,这是隐藏除顶层以外的所有内容的默认行为。 You can either modify it globally via the customize menu : Group org startup -> option org-startup-folded 您可以通过自定义菜单在全局范围内对其进行修改: Group org startup -> option org-startup-folded

or for each file like this http://orgmode.org/manual/Initial-visibility.html#Initial-visibility 或像这样的每个文件http://orgmode.org/manual/Initial-visibility.html#Initial-visibility

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM