修改 org-mode 的省略符号
org-mode 默认使用三个点 (...)来只待隐藏内容。不过我们可以通过修改 org-ellipsis
的值来修改这个表示方式
org-ellipsis is a variable defined in ‘org.el’. Its value is nil This variable is safe as a file local variable if its value satisfies the predicate which is a byte-compiled expression. Documentation: The ellipsis to use in the Org mode outline. When nil, just use the standard three dots. When a non-empty string, use that string instead. The change affects only Org mode (which will then use its own display table). Changing this requires executing ‘M-x org-mode’ in a buffer to become effective. You can customize this variable.
比如我比较喜欢使用 ⤵
来指待隐藏内容。
(setq org-ellipsis "⤵")
最后的效果如下图所示: