feat(evil): vim completion keybinds on C-x
Vim has a set of completion commands bound to the C-x prefix. We had this for company, but with this commit, we now have them for the corfu module.
This commit is contained in:
parent
8ab42fa774
commit
ce84690dc5
2 changed files with 32 additions and 12 deletions
|
@ -37,3 +37,13 @@
|
|||
(save-excursion (backward-char 1)
|
||||
(insert-char ?\\)))
|
||||
(t (call-interactively #'corfu-insert-separator))))
|
||||
|
||||
;;;###autoload
|
||||
(defun +corfu/dabbrev-this-buffer ()
|
||||
"Like `cape-dabbrev', but only scans current buffer."
|
||||
(interactive)
|
||||
(require 'cape)
|
||||
(let ((cape-dabbrev-check-other-buffers nil))
|
||||
(cape-dabbrev t)))
|
||||
|
||||
;;; end of autoload.el
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue