File Template

doom emacs file template

触发方式

输入 __ + TAB

开源证书 template

M-x +fle-templates/insert-license

template 后缀

  • -bp : boilerplate 样版文件

注册新的 file template

set-file-template!set-file-templates! 实现

调试

+file-templates/debug

如何确定使用哪个 file template 文件

决定因素:

Org Download

Windows

注意:

  • windows 自己有一个 convert.exe 命令
  • 需要把自己安装的 convert 命令 在 PATH 中设置到前面

函数用途

org-download-image

  1. 把 url, file-path 存储到指定位置
  2. 插入 org image 链接

org-download–dir

  • org-download–dir1 : org-download-image-dir
  • org-download–dir2 : org-download-heading-lvl

org-download–image

  • 把 url, file-path 下载,存储到指定位置