all repos — nixfiles @ 482be24274f404b03583072f8a59a127aaec731b

System and user configuration, managed by nix and home-manager

Emacs: add keybind to bypass company-tabnine
Alan Pearce alan@alanpearce.eu
Wed, 03 Jul 2019 12:45:07 +0200
commit

482be24274f404b03583072f8a59a127aaec731b

parent

395c4f549aae87786d31853b4813fd064c9df152

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -321,6 +321,9 @@ (use-package all-the-icons)
 
 (use-package company-tabnine
+  :general ([remap completion-at-point] #'company-tabnine-call-other-backends
+            [remap complete-symbol] #'company-tabnine-call-other-backends
+            "<C-tab>" #'company-tabnine-call-other-backends)
   :config (progn
             (add-to-list 'company-backends #'company-tabnine)))