projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
eba52b9
)
[emacs] enable company-mode globally
author
Amin Bandali
<amin@aminb.org>
Mon, 7 May 2018 04:05:11 +0000
(
00:05
-0400)
committer
Amin Bandali
<amin@aminb.org>
Mon, 7 May 2018 04:05:11 +0000
(
00:05
-0400)
init.org
patch
|
blob
|
blame
|
history
diff --git
a/init.org
b/init.org
index
c301f19
..
7ae419d
100644
(file)
--- a/
init.org
+++ b/
init.org
@@
-931,6
+931,25
@@
TODO: break this giant source block down into individual org sections.
(setq undo-tree-mode-lighter ""))
#+end_src
(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
* Syntax and spell checking
#+begin_src emacs-lisp
(use-package flycheck