Add and configure the cape package
This commit is contained in:
parent
5b0156d951
commit
60307f6432
@ -2095,6 +2095,25 @@ It also provides some nice commands to navigate between change sets.
|
||||
(corfu-separator ?\s))
|
||||
#+end_src
|
||||
|
||||
** ~cape~
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(defvar gpolonkai/completion-at-point-map (make-sparse-keymap)
|
||||
"Map for traspose functions.")
|
||||
(define-prefix-command 'gpolonkai/completion-at-point-map)
|
||||
|
||||
(use-package cape
|
||||
:bind (:map gpolonkai/completion-at-point-map
|
||||
("p" . completion-at-point)
|
||||
:map gpolonkai/pers-map
|
||||
("p" . gpolonkai/completion-at-point-map))
|
||||
:init
|
||||
(add-to-list 'completion-at-point-functions #'cape-dabbrev)
|
||||
(add-to-list 'completion-at-point-functions #'cape-file)
|
||||
(add-to-list 'completion-at-point-functions #'cape-elisp-block)
|
||||
(add-to-list 'completion-at-point-functions #'cape-elisp-symbol))
|
||||
#+end_src
|
||||
|
||||
* Org mode
|
||||
|
||||
** ~outline~
|
||||
|
Loading…
Reference in New Issue
Block a user