diff options
author | Amin Bandali <amin@aminb.org> | 2018-05-07 00:05:11 -0400 |
---|---|---|
committer | Amin Bandali <amin@aminb.org> | 2018-05-07 00:05:11 -0400 |
commit | 54512e45bc980154f8d3d799b1974f0652246c7b (patch) | |
tree | 720f2e478fcda7f4c030f09eebdf4697e8105891 | |
parent | eba52b9ce0f011eec7710806c781ff7910dbc8e9 (diff) | |
download | configs-54512e45bc980154f8d3d799b1974f0652246c7b.tar.gz configs-54512e45bc980154f8d3d799b1974f0652246c7b.tar.xz configs-54512e45bc980154f8d3d799b1974f0652246c7b.zip |
[emacs] enable company-mode globally
-rw-r--r-- | init.org | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -931,6 +931,25 @@ TODO: break this giant source block down into individual org sections. (setq undo-tree-mode-lighter "")) #+end_src +* Editing + +** Company + +#+begin_src emacs-lisp +(use-package company + :defer 5 + :bind + (:map company-active-map + ([tab] . company-complete-common-or-cycle)) + :custom + (company-idle-delay 0.3) + (company-minimum-prefix-length 1) + (company-selection-wrap-around t) + (company-dabbrev-char-regexp "\\sw\\|\\s_\\|[-_]") + :config + (global-company-mode t)) +#+end_src + * Syntax and spell checking #+begin_src emacs-lisp (use-package flycheck |