|
- 一个增强 abbrev-mode 在中文环境下体验的构想 | hsingko
最近 prot 发了一个关于 abbrev-mode 的视频。介绍的东西很基础,主要是如何通过 elisp 代码定义 abbrev 。所谓的 abbrev 相当于一些输入法的“快速短语”,比如输入“xnkl”就可以替换为“新年快乐”。所以实际上如果使用的是一些能够组词造句的输入法的话, abbrev-mode 并不是那么必须。 然而问题是我
- 2. 5 Entering Mathematics - Emacs Docs
user option LaTeX-math-abbrev-prefix A string containing the prefix of LaTeX-math-mode commands; This value defaults to ` The string has to be a key or key sequence in a format understood by the kbd macro This corresponds to the syntax usually used in the manuals for Emacs Emacs Lisp
- 16. emacs的abbrev使用介绍 - 知乎 - 知乎专栏
read-abbrev-file 功能和上面的命令相反,它从文件中读取并定义 abbrev。quietly-read-abbrev-file 功能和它类似,但是不会回显读取消息,它是个函数而非命令,一般在初始化文件中使用。 如果在调用这些功能时使用的参数是 nil,那么它们会以 abbrev-file-name 的值作为文件名,它的默认值是 ~ emacs d abbrev_defs 。
- 29. 3 Controlling Abbrev Expansion - Emacs Docs
These commands are used to control abbrev expansion: M-' Separate a prefix from a following abbrev to be expanded (abbrev-prefix-mark) C-x a e Expand the abbrev before point (expand-abbrev) This is effective even when Abbrev mode is not enabled M-x unexpand-abbrev Undo the expansion of the last expanded abbrev M-x expand-region-abbrevs
- GNU Emacs Manual - Abbrevs
The command M-x abbrev-mode toggles Abbrev mode; with a numeric argument, it turns Abbrev mode on if the argument is positive, off otherwise See section Minor Modes abbrev-mode is also a variable; Abbrev mode is on when the variable is non-nil The variable abbrev-mode automatically becomes local to the current buffer when it is set
- GNU Emacs Manual - Abbrevs
Abbrevs expand only when Abbrev mode (a minor mode) is enabled What you can do is use the command M-' (abbrev-prefix-mark) in between the prefix `re' and the abbrev `cnst' First, The number that follows is the number of times the abbrev has been expanded Emacs keeps track of this to help you see which abbrevs you actually use, so
- 29. 1 Abbrev Concepts | Emacs Docs
Abbrevs expand only when Abbrev mode, a buffer-local minor mode, is enabled Disabling Abbrev mode does not cause abbrev definitions to be forgotten, but they do not expand until Abbrev mode is enabled again The command M-x abbrev-mode toggles Abbrev mode; with a numeric argument, it turns Abbrev mode on if the argument is positive, off otherwise
- Expanding Abbrevs (GNU Emacs Manual)
These commands are used to control abbrev expansion: M-' Separate a prefix from a following abbrev to be expanded (abbrev-prefix-mark) C-x a e ¶ Expand the abbrev before point (expand-abbrev) This is effective even when Abbrev mode is not enabled M-x unexpand-abbrev ¶ Undo the expansion of the last expanded abbrev M-x expand-region-abbrevs
|
|
|