From eb8d4d646e582aaf5c1351747c64eb5ed868b2cc Mon Sep 17 00:00:00 2001 From: StrawberryTea Date: Sat, 17 Feb 2024 10:55:19 -0600 Subject: [PATCH] fix(corfu): bind tng tab commands to insert state These commands were being shadowed by the other Corfu commands previously. --- modules/config/default/config.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/config/default/config.el b/modules/config/default/config.el index 1108190f9..81203f6ea 100644 --- a/modules/config/default/config.el +++ b/modules/config/default/config.el @@ -469,10 +469,10 @@ Continues comments if executed from a commented line. Consults (:when (modulep! :completion corfu +orderless) [remap completion-at-point] #'+corfu-smart-sep-toggle-escape) (:when (modulep! :completion corfu +tng) - [tab] #'corfu-next - "TAB" #'corfu-next - [backtab] #'corfu-previous - "S-TAB" #'corfu-previous)) + :gi [tab] #'corfu-next + :gi "TAB" #'corfu-next + :gi [backtab] #'corfu-previous + :gi "S-TAB" #'corfu-previous)) (:after corfu-popupinfo :map corfu-popupinfo-map "C-" #'corfu-popupinfo-scroll-down