FIX company being silly and slow

This commit is contained in:
Nathan Dwarshuis 2024-10-07 13:50:46 -04:00
parent ea05678f3c
commit 976c81304d
1 changed files with 8 additions and 0 deletions

View File

@ -833,6 +833,8 @@ Company provides a dropdown of completion options. It has many backends which ar
:delight "κ" :delight "κ"
:config :config
(setq company-idle-delay 0 (setq company-idle-delay 0
company-dabbrev-minimum-length 5
company-dabbrev-other-buffers nil
company-minimum-prefix-length 3)) company-minimum-prefix-length 3))
#+END_SRC #+END_SRC
** auto formatting ** auto formatting
@ -3661,6 +3663,12 @@ Everyone forgets keybindings. When typing a key chord, this will display a windo
:init :init
(which-key-mode)) (which-key-mode))
#+END_SRC #+END_SRC
** company
#+begin_src emacs-lisp
(define-key company-active-map (kbd "<tab>") 'company-complete-selection)
(define-key company-active-map (kbd "<return>") 'company-complete-selection t)
(define-key company-active-map "\r" 'company-complete-selection t)
#+end_src
** hydra ** hydra
Hydra allows commands to be arranged on a set of keybindings like a tree. Hydra allows commands to be arranged on a set of keybindings like a tree.
#+begin_src emacs-lisp #+begin_src emacs-lisp