diff --git a/config.org b/config.org index 92e3bd0..f98d274 100644 --- a/config.org +++ b/config.org @@ -49,7 +49,30 @@ needs to be set up to install them if they aren't already. (load-theme 'spacemacs-light t) #+end_src -* Org-mode +* Autocompletion + Enable =company-mode= globally, and hook it into =completion-at-point-functions=. + + #+begin_src emacs-lisp + (use-package company + :config + (add-hook 'after-init-hook 'global-company-mode) + (setf company-backends + (cons 'company-capf company-backends))) + #+end_src + + And enable =ido-mode= everywhere, with flexible matching. + + #+begin_src emacs-lisp + (use-package ido + :config + (setq ido-enable-flex-matching t) + (add-hook 'after-init-hook + (lambda () + (ido-everywhere) + (ido-mode t)))) + #+end_src + +* Org I use a couple non-standard bits and pieces, but not a whole bunch. I really like the =