diff --git a/emacs.d/editing.el b/emacs.d/editing.el index 8b7988c..0138fcf 100644 --- a/emacs.d/editing.el +++ b/emacs.d/editing.el @@ -17,15 +17,19 @@ (setq-default tab-width 4) (setq-default indent-tabs-mode t) +(setq-default tab-always-indent t) (use-package corfu :ensure t :hook (after-init . global-corfu-mode) - :bind - ( :map corfu-map - ("" . corfu-complete)) + ;; :bind + ;; ( :map corfu-map + ;; ("" . corfu-complete)) :config - (setq tab-always-indent 'complete) + ;;(setq tab-always-indent 'complete) + (setq corfu-auto t) + (setq corfu-auto-delay 0.5) + (setq corfu-auto-prefix 2) (setq corfu-preview-current nil) (setq corfu-min-width 20)) diff --git a/emacs.d/keybinds.el b/emacs.d/keybinds.el index fcd6c74..db5ac74 100644 --- a/emacs.d/keybinds.el +++ b/emacs.d/keybinds.el @@ -39,3 +39,5 @@ (global-set-key (kbd "M-") #'menu-bar-mode) (global-set-key (kbd "C-x C-k") #'kill-this-buffer) + +(global-set-key (kbd "C-SPC") #'completion-at-point)