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