Setup
Emacs Hunspell
https://github.com/hunspell/hunspell#usage
# mkdir /usr/share/hunspell
# cd /usr/share/hunspell
# wget -O en_US.aff https://cgit.freedesktop.org/libreoffice/dictionaries/plain/en/en_US.aff?id=a4473e06b56bfe35187e302754f6baaa8d75e54f
# wget -O en_US.dic https://cgit.freedesktop.org/libreoffice/dictionaries/plain/en/en_US.dic?id=a4473e06b56bfe35187e302754f6baaa8d75e54f
我想用 Emacs 做什么
搜索多个文件
M-x rgrep
用 Org-agenda 做 GTD
使用 Org 表格
腾讯云 | 阿里云 | |
---|---|---|
地域 | 上海 | |
系统镜像 | Ubuntu20.04 | |
vCPU | 2 核 | |
内存 | 2G | |
每月流量 | 300G | 800G |
系统盘 | 40G SSD | 50G ESSD |
限峰值带宽 | 4Mbps | |
价格 | 50 元/月 | 90 元/月 |
我想让属性值相同的部分(地域、系统镜像、vCPU、内存、限峰值带宽)两列合并。
目前使用 HTML:
腾讯云 | 阿里云 | |
---|---|---|
地域 | 上海 | |
系统镜像 | Ubuntu20.04 | |
vCPU | 2 核 | |
内存 | 2G | |
每月流量 | 300G | 800G |
系统盘 | 40G SSD | 50G ESSD |
限峰值带宽 | 4Mbps | |
价格 | 50 元/月 | 90 元/月 |
其他参考:
|
Singular | Plural | ||
Masculine | Neuter | Feminine | All genders | |
Nominative Accusative Dative Genitive |
*der* *den* *dem* *dessen* |
*das* *das* *dem* *dessen* |
*die* *die* *der* *deren* |
*die* *die* *denen* *deren* |
table-capture is a powerful command. Here are some things it can do: |
|
Parse Cell Items |
Using row and column delimiter regexps, it parses the specified text area and extracts cell items into a table. |
使用 Org Mode checkbox
C-c C-x C-r (org-toggle-radio-button)
添加新的 checkbox
输入法及字体
我在终端环境下用 Emacs 更多,所以基本上系统输入法配置好 Fcitx5,使用我的
.emacs.d
配置,就可以正常输入中文了。但是,最近使用发现——输入中文引号时,会占据实际上没有的空白(终于找到原因:在启动
Emacs 时设置了 LC_CTYPE=zh_CN.UTF-8
)。
升级包
https://github.com/purcell/emacs.d/issues/33#issuecomment-6039572
通过定期执行 M-x package-list-packages RET
,然后按下 U
键,之后按下
x
键。
不使用 use-package
https://github.com/jwiegley/use-package 安装
(require 'package) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) (unless (package-installed-p 'use-package) (package-install 'use-package))
配置入门
当需要安装包的时候,输入:
(use-package ox-hugo :ensure t :pin melpa)
:init
在加载包前执行代码:config