gpt4 book ai didi

emacs - 组织文件之间的链接

转载 作者:行者123 更新时间:2023-12-04 14:00:57 25 4
gpt4 key购买 nike

假设我在磁盘上有两个组织文件file1.orgfile2.org(假设它们位于同一目录中)。如何在file1.org上创建到file2.org的链接?

有了file1.org上的链接后,让我们假设我在该链接上有光标(点)。如何告诉Emacs给我看相应的文件?

最后,如果我想创建一个指向file2.org特定项目的链接该怎么办?

最佳答案

使用C-c C-l快捷方式创建链接并使用语法

file:./file2.org

并在链接上使用带有光标的 C-c C-o来访问该链接。

要链接到特定项目,请使用
     file:projects.org::*task title            heading search in Org file

doc: http://orgmode.org/org.html#External-links

您甚至可以搜索单词:
file:projects.org::some words

关于emacs - 组织文件之间的链接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21482141/

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