Add and configure the cape package
This commit is contained in:
		@@ -2095,6 +2095,25 @@ It also provides some nice commands to navigate between change sets.
 | 
				
			|||||||
  (corfu-separator ?\s))
 | 
					  (corfu-separator ?\s))
 | 
				
			||||||
#+end_src
 | 
					#+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
 | 
					* Org mode
 | 
				
			||||||
 | 
					
 | 
				
			||||||
** ~outline~
 | 
					** ~outline~
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user