org module 之 org-toc

发布于 2023-03-26 22:33:56 字数 1038 浏览 83 评论 0

org-toc 可以为当前 Org 文件生成一个目录,在这个目录中导航可以跳转到相应的 Org 位置上。 不过鉴于 org 本来就是个大纲类的模式,所以我觉得这个 module 意义不大啊。

在带标题的 Org 文件(没有标题的话会提示错误)中运行 org-toc-show 命令,就会弹出一个 org-toc buffer,其中列出了当前 Org 文件的目录。这个 buffer 处于 org-toc-mode,并提供了多个导航快捷键,项目快捷键说明可以运行 M-x org-toc-help 来查看,如下所示:

[space]   show heading                     [1-4] hide headlines below this level
[TAB]     jump to heading                  [F]   toggle follow mode (currently off)
[return]  jump and delete others windows   [i]   toggle info mode (currently off)
[S-TAB]   cycle subtree (in Org)           [S]   toggle show subtree mode (currently off)
[C-S-TAB] global cycle (in Org)            [r]   toggle recenter mode (currently on, line 0)
[:]       cycle subtree (in TOC)           [c]   toggle column view (currently off)
[n/p]     next/previous heading            [s]   save TOC configuration
[f/b]     next/previous heading of same level
[q]       quit the TOC                     [g]   restore last TOC configuration

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

关于作者

瑶笙

暂无简介

文章
评论
27 人气
更多

推荐作者

櫻之舞

文章 0 评论 0

弥枳

文章 0 评论 0

m2429

文章 0 评论 0

野却迷人

文章 0 评论 0

我怀念的。

文章 0 评论 0

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文