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

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -