# Re: Emacs, org-mode, вставки кода
btimofeev (tavern,13) → constantin – 07:13:24 2020-10-30
constantin> 1. каким образом ты ставишь ссылки на файлы?
Примеры из мануала https://orgmode.org/manual/External-Links.html
####
‘file:/home/dominik/images/jupiter.jpg’
‘/home/dominik/images/jupiter.jpg’ (same as above)
‘file:papers/last.pdf’
‘./papers/last.pdf’ (same as above)
‘file:/ssh:me@some.where:papers/last.pdf’ (remote)
‘/ssh:me@some.where:papers/last.pdf’ (same as above)
‘file:sometextfile::NNN’ (jump to line number)
‘file:projects.org’
‘file:projects.org::some words’ (text search)27
‘file:projects.org::*task title’ (headline search)
‘file:projects.org::#custom-id’ (headline search)
####
constantin> Для вызова Agenda есть ли комбинация клавиши по-умолчанию или надо настраивать, т.к. C-c C-a у меня не работает так, как нашёл в одной из инструкций...
В инит файл емакса добавь типа такого:
(global-set-key (kbd "C-c a") 'org-agenda)
btimofeev (tavern,13) → constantin – 07:13:24 2020-10-30
constantin> 1. каким образом ты ставишь ссылки на файлы?
Примеры из мануала https://orgmode.org/manual/External-Links.html
####
‘file:/home/dominik/images/jupiter.jpg’
‘/home/dominik/images/jupiter.jpg’ (same as above)
‘file:papers/last.pdf’
‘./papers/last.pdf’ (same as above)
‘file:/ssh:me@some.where:papers/last.pdf’ (remote)
‘/ssh:me@some.where:papers/last.pdf’ (same as above)
‘file:sometextfile::NNN’ (jump to line number)
‘file:projects.org’
‘file:projects.org::some words’ (text search)27
‘file:projects.org::*task title’ (headline search)
‘file:projects.org::#custom-id’ (headline search)
####
constantin> Для вызова Agenda есть ли комбинация клавиши по-умолчанию или надо настраивать, т.к. C-c C-a у меня не работает так, как нашёл в одной из инструкций...
В инит файл емакса добавь типа такого:
(global-set-key (kbd "C-c a") 'org-agenda)