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 下载,存储到指定位置

Vimscript

echo

作用: 类似 python 中的 print, 打印到 minibuffer

  • 打印变量
  • 打印字符串

echom

作用:类似 echo, 打印结果在 :messages 中保存一份

set

作用: 设置 options

options:

  • 代码行号

    • number : 代码行号
    • nonumber : 无行号
    • number! : toggle

neovim

cheat sheet

打开文件

  • :r, :read

    • 加载内容到 buffer
  • :e, :edit

帮助

  • :help your-item
  • :h <Ctrl+R> <Ctr + W>

    • 获取 cursor 下单词的帮助, Ctr+R Ctr+W 会把光标下内容自动复制到 command 行中

配置

配置选项查询

  • :help option-list

查看配置

  • :opt
  • 单个配置