使用组织模式控制操作 [英] Controlling the actions with org-mode
本文介绍了使用组织模式控制操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我在/ abc / hello中有一个python代码与 -rwxr-xr-x
并且我有一个[[/ abc / hello]]时,我点击链接运行你好的代码。可以更改操作,以便我可以编辑(打开编辑器) abc / hello
文件?
When I have a python code in "/abc/hello" with -rwxr-xr-x
and I have a [[/abc/hello]], I click the link to run hello code. Can I change the action so that I can edit (open an editor) abc/hello
file?
我尝试过这个
(setq org-link-abbrev-alist
'(
("edit" . "mate %s")))
与 []
,但不起作用。
我也尝试过文件:/ abc / hello
,但它也不起作用。
I also tried file:/abc/hello
, but it doesn't work neither.
("mate" . "shell:/usr/local/bin/mate %s")
并关闭确认
(setq org-confirm-shell-link-function nil)
推荐答案
Leo Alekseyev 在这个 post 。
这篇关于使用组织模式控制操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文