emacs - Controlling the actions with org-mode -
when have python code in "/abc/hello" -rwxr-xr-x
, have [[/abc/hello]], click link run hello code. can change action can edit (open editor) abc/hello
file?
i tried this
(setq org-link-abbrev-alist '( ("edit" . "mate %s")))
with [[edit:/abc/hello]]
, doesn't work.
i tried file:/abc/hello
, doesn't work neither.
solved
("mate" . "shell:/usr/local/bin/mate %s")
and turn confirmation off
(setq org-confirm-shell-link-function nil)
leo alekseyev gave me answer quetion @ post.
Comments
Post a Comment