是否有Emacs组织模式命令跳转到组织标题?

inc*_*man 13 emacs org-mode

在Emacs组织模式中,是否有像org-goto-heading这样的命令?

在一个长组织模式文件中,我有一个向下的标题,如下所示:

* questions
Run Code Online (Sandbox Code Playgroud)

我想跳到那个标题,而不必涉及这个词的所有其他实例questions.

有这样的命令:

基本上我想使用这样的东西导航到该标题: M-x org-goto-heading questions <RET>

eve*_*_jr 14

这是一个讨论导航的org邮件列表中的一个有趣的线程.

基本上,将此添加到您的init文件:

(setq org-goto-interface 'outline-path-completion
      org-goto-max-level 10)
Run Code Online (Sandbox Code Playgroud)

你可以跳转到org-goto命令前进C-c C-j.您也可以C-u C-c C-w org-refile通过将此添加到您的init文件来使用:

(setq org-outline-path-complete-in-steps nil)
Run Code Online (Sandbox Code Playgroud)


arm*_*ino 7

不确定这是否适合您,但有一个org-goto功能C-c C-j.

调用它后,您可以使用向上或向下键或使用搜索滚动树C-s.

这是文档的片段.

C-c C-j     (org-goto)

Jump to a different place without changing the current outline visibility.
Shows the document structure in a temporary buffer, where you can use the
following keys to find your destination:

          <TAB>         Cycle visibility.
          <down> / <up>   Next/previous visible headline.
          <RET>         Select this location.
          /           Do a Sparse-tree search
          The following keys work if you turn off org-goto-auto-isearch
          n / p        Next/previous visible headline.
          f / b        Next/previous headline same level.
          u            One level up.
          0-9          Digit argument.
          q            Quit
Run Code Online (Sandbox Code Playgroud)


Pas*_*ten 6

我有这个命令绑定到M-o:(imenu-anywhere).

它允许您快速跳转到部分(从所有部分的列表中选择).它不仅可以在组织模式下工作,还可以在许多其他模式下工作.


Jua*_*cho 5

然后是org-occurrence -goto,它会在您所有的组织模式缓冲区上进行多次搜索,并在您键入时动态显示结果.

适用于任何文本(不仅是标题).


Bri*_*n Z 5

如果您要在议程文件中查找标题,这helm-org-agenda-files-headings是一个非常有用的命令。它是helm软件包的一部分,可通过 MELPA 获得。