dev: merge branch 'pr7002' into emenel
This commit is contained in:
commit
17b109158d
3 changed files with 9 additions and 10 deletions
|
@ -542,7 +542,7 @@
|
|||
(:map corfu-mode-map
|
||||
"C-M-i" #'completion-at-point)
|
||||
(:map corfu-popupinfo-map
|
||||
"C-S-h" #'corfu-popupinfo-toggle))
|
||||
"C-S-h" #'corfu-popupinfo-toggle))
|
||||
|
||||
;;; ein notebooks
|
||||
(:after ein:notebook-multilang
|
||||
|
|
|
@ -467,7 +467,7 @@ Continues comments if executed from a commented line. Consults
|
|||
"C-p" #'corfu-previous
|
||||
"C-n" #'corfu-next
|
||||
(:when (modulep! :completion corfu +orderless)
|
||||
"<remap> <completion-at-point>" #'+corfu-smart-sep-toggle-escape)
|
||||
[remap completion-at-point] #'+corfu-smart-sep-toggle-escape)
|
||||
(:when (modulep! :completion corfu +tng)
|
||||
[tab] #'corfu-next
|
||||
"TAB" #'corfu-next
|
||||
|
@ -482,14 +482,14 @@ Continues comments if executed from a commented line. Consults
|
|||
"C-S-u" (cmd! (funcall-interactively #'corfu-popupinfo-scroll-down corfu-popupinfo-min-height))
|
||||
"C-S-d" (cmd! (funcall-interactively #'corfu-popupinfo-scroll-up corfu-popupinfo-min-height)))
|
||||
(:map corfu-map
|
||||
:gi "C-<return>" '(menu-item "Conclude the minibuffer" exit-minibuffer
|
||||
:enable (active-minibuffer-window))
|
||||
:gi "S-<return>" '(menu-item "Insert completion and conclude" +corfu-complete-and-exit-minibuffer
|
||||
:enable (active-minibuffer-window))))
|
||||
"C-<return>" '(menu-item "Conclude the minibuffer" exit-minibuffer
|
||||
:enable (minibufferp nil t))
|
||||
"S-<return>" '(menu-item "Insert completion and conclude" +corfu-complete-and-exit-minibuffer
|
||||
:enable (minibufferp nil t))))
|
||||
(when-let ((cmds-del (and (modulep! :completion corfu +tng)
|
||||
(cmds! (and (> corfu--index -1)
|
||||
(eq corfu-preview-current 'insert))
|
||||
#'corfu-reset))))
|
||||
'(menu-item "Reset completion" #'corfu-reset
|
||||
:enable (and (> corfu--index -1)
|
||||
(eq corfu-preview-current 'insert))))))
|
||||
(map! :after corfu
|
||||
:map corfu-map
|
||||
[backspace] cmds-del
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue