From 1065e1ba0fce3f7295ad6017b063f6324490aacd Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 12 Jul 2024 16:09:29 +0200 Subject: remove tabnine and all related configuration --- user/emacs/init.el | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'user/emacs') diff --git a/user/emacs/init.el b/user/emacs/init.el index 45054237..69c71d00 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -582,29 +582,6 @@ _C-k_: prev _u_pper _=_: upper/lower _s_mart resolve (setq kind-icon-default-face 'corfu-default) (add-to-list 'corfu-margin-formatters #'kind-icon-margin-formatter))) -(use-package tabnine-core - :config (progn - (setq tabnine-binaries-folder "~/.local/tabnine") - (with-demoted-errors "TabNine error: %s" - (when (tabnine--executable-path) - (global-tabnine-mode))) - - (define-key tabnine-completion-map (kbd "TAB") #'tabnine-accept-completion) - (define-key tabnine-completion-map (kbd "") #'tabnine-accept-completion) - - (define-key tabnine-completion-map (kbd "M-f") #'tabnine-accept-completion-by-word) - (define-key tabnine-completion-map (kbd "M-") #'tabnine-accept-completion-by-line) - (define-key tabnine-completion-map (kbd "C-e") #'tabnine-accept-completion-by-line) - (define-key tabnine-completion-map (kbd "") #'tabnine-accept-completion-by-line) - - (define-key tabnine-completion-map (kbd "C-g") #'tabnine-clear-overlay) - (define-key tabnine-completion-map (kbd "M-[") #'tabnine-next-completion) - (define-key tabnine-completion-map (kbd "M-]") #'tabnine-previous-completion)) - :init (progn - (advice-add 'tabnine-start-process :around #'quiet) - - (add-hook 'kill-emacs-hook #'tabnine-kill-process))) - (use-package tempel :general ("M-+" #'tempel-complete ;; Alternative tempel-expand "M-*" #'tempel-insert -- cgit 1.4.1