gpt4 book ai didi

emacs - 在 Emacs org-mode 中折叠当前大纲

转载 作者:行者123 更新时间:2023-12-03 21:51:49 24 4
gpt4 key购买 nike

假设我在具有以下结构的文档中处于 org-mode:

* First headline 
* Second headline
** Section A
Here is one line
Here is another line
blah, blah
** Section B

假设光标位于 Here is another line 的行上.我要崩溃 ** Section A从这个位置使用键盘快捷键。
  • 如果我按 <TAB>它不会崩溃 ** Section A ,因为我需要将光标放在星星上才能正常工作。
  • 如果我按 <Shift-TAB>它崩溃了全部 大纲,而不是当前的。

  • 有没有办法 周期 通过轮廓的折叠 范围内 (即“当前大纲”)?

    最佳答案

    如果您不介意分两步执行此操作:

  • C-c C-p : move the cursor to the previous heading ( ** Section A 在您的示例中)
  • TAB :折叠部分

  • 这种方法不需要任何配置,只要你习惯了。

    关于emacs - 在 Emacs org-mode 中折叠当前大纲,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12737317/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com