summary refs log tree commit diff stats
path: root/emacs/.emacs.d/main.el
diff options
context:
space:
mode:
authorAlan Pearce2019-07-03 12:45:07 +0200
committerAlan Pearce2019-07-03 12:45:07 +0200
commit482be24274f404b03583072f8a59a127aaec731b (patch)
tree49e4f1568480bf8135fc3d7c8c9f598b280a7931 /emacs/.emacs.d/main.el
parent395c4f549aae87786d31853b4813fd064c9df152 (diff)
downloadnixfiles-482be24274f404b03583072f8a59a127aaec731b.tar.lz
nixfiles-482be24274f404b03583072f8a59a127aaec731b.tar.zst
nixfiles-482be24274f404b03583072f8a59a127aaec731b.zip
Emacs: add keybind to bypass company-tabnine
Diffstat (limited to 'emacs/.emacs.d/main.el')
-rw-r--r--emacs/.emacs.d/main.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index c4bd5ee0..8e964611 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -321,6 +321,9 @@ With two prefix arguments, write out the day and month name."
 (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)))