diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2021-12-07 21:48:27 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2021-12-08 13:27:39 +0100 |
| commit | aae065830c26cbd9e21ac7205dff0dfec423392b (patch) | |
| tree | 7b8ed5982aada6685dd1bfda5a8f55378805e1d6 /README.org | |
| parent | b895c8cf280f80a0cf724f137de06217679cb846 (diff) | |
Add cape-sgml and cape-tex
Diffstat (limited to 'README.org')
| -rw-r--r-- | README.org | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -31,6 +31,19 @@ packages or configurations, since it completes elisp symbols anywere. On the more experimental side, Cape has the super power to transform Company backends into Capfs and merge multiple Capfs into a Super-Capf! +* Available Capfs + +* ~cape-dabbrev~: Complete word from current buffers +* ~cape-file~: Complete file name +* ~cape-keyword~: Complete programming language keyword +* ~cape-symbol~: Complete Elisp symbol +* ~cape-abbrev~: Complete abbreviation (~add-global-abbrev~, ~add-mode-abbrev~) +* ~cape-ispell~: Complete word from Ispell dictionary +* ~cape-dict~: Complete word from dictionary file +* ~cape-line~: Complete entire line from file +* ~cape-tex~: Complete unicode char from TeX command, e.g. ~\hbar~, +* ~cape-sgml~: Complete unicode char from Sgml entity, e.g., ~&alpha~. + * Configuration Cape is available from MELPA. In the long term some of the Capfs provided by @@ -55,12 +68,16 @@ this package should be upstreamed into Emacs itself. ("C-c p a" . cape-abbrev) ("C-c p i" . cape-ispell) ("C-c p l" . cape-line) - ("C-c p w" . cape-dict)) + ("C-c p w" . cape-dict) + ("C-c p \\" . cape-tex) + ("C-c p &" . cape-sgml)) :init ;; Add `completion-at-point-functions', used by `completion-at-point'. (add-to-list 'completion-at-point-functions #'cape-file) + (add-to-list 'completion-at-point-functions #'cape-tex) (add-to-list 'completion-at-point-functions #'cape-dabbrev) (add-to-list 'completion-at-point-functions #'cape-keyword) + ;;(add-to-list 'completion-at-point-functions #'cape-sgml) ;;(add-to-list 'completion-at-point-functions #'cape-abbrev) ;;(add-to-list 'completion-at-point-functions #'cape-ispell) ;;(add-to-list 'completion-at-point-functions #'cape-dict) |
