summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/.emacs.d/init.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el
index aca54118..67424116 100644
--- a/user/emacs/.emacs.d/init.el
+++ b/user/emacs/.emacs.d/init.el
@@ -495,8 +495,14 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
             (general-unbind company-active-map
               "RET"
               [return]))
-  :general (:states 'insert
-                    "TAB" #'company-indent-or-complete-common))
+  :general
+  (:states 'insert
+           "TAB" #'company-indent-or-complete-common)
+  (:keymaps 'company-active-map
+            "TAB" #'company-complete-common-or-cycle
+            "<tab>" #'company-complete-common-or-cycle
+            "S-TAB" #'company-select-previous
+            "<backtab>" #'company-select-previous))
 
 (use-package all-the-icons
   :config (setq all-the-icons-color-icons nil))