#+TITLE: org module之org-toc #+AUTHOR: lujun9972 #+TAGS: Emacs之怒 #+DATE: [2020-02-11 二 12:48] #+LANGUAGE: zh-CN #+STARTUP: inlineimages #+OPTIONS: H:6 num:nil toc:t \n:nil ::t |:t ^:nil -:nil f:t *:t <:nil org-toc可以为当前Org文件生成一个目录,在这个目录中导航可以跳转到相应的Org位置上。 不过鉴于org本来就是个大纲类的模式,所以我觉得这个module意义不大啊。 在带标题的Org文件(没有标题的话会提示错误)中运行 =org-toc-show= 命令,就会弹出一个 *org-toc* buffer,其中列出了当前Org文件的目录。 这个buffer处于 org-toc-mode,并提供了多个导航快捷键,项目快捷键说明可以运行 =M-x org-toc-help= 来查看,如下所示: #+begin_example [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 #+end_example