aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-05-02 15:31:32 +0800
committerAaron LI <aaronly.me@gmail.com>2016-05-02 15:31:32 +0800
commit0a4f54e453d481e2ad58a4fd93549df8e6f013e8 (patch)
treec4b824b409005a0b563e5dae37d13f90ccf83662
parentccf9548e260496c4acde431cb170cab0a8ffef9b (diff)
downloaddotfiles-0a4f54e453d481e2ad58a4fd93549df8e6f013e8.tar.bz2
_spacemacs: adjust auto-completion settings
-rw-r--r--_spacemacs6
1 files changed, 5 insertions, 1 deletions
diff --git a/_spacemacs b/_spacemacs
index ba436ba..be95107 100644
--- a/_spacemacs
+++ b/_spacemacs
@@ -28,7 +28,9 @@ values."
;; Uncomment some layer names and press <SPC f e R> (Vim style) or
;; <M-m f e R> (Emacs style) to install them.
;; ----------------------------------------------------------------
- auto-completion
+ (auto-completion :variables
+ auto-completion-complete-with-key-sequence "jk"
+ auto-completion-complete-with-key-sequence-delay 0.1)
;; better-defaults
c-c++
(chinese :variables chinese-enable-fcitx t)
@@ -279,6 +281,8 @@ layers configuration. You are free to put any user code."
(setq powerline-default-separator 'arrow)
;; Set monospaced font size for Chinese
(spacemacs//set-monospaced-font "Source Code Pro" "WenQuanYi Zen Hei" 14 16)
+ ;; Complete by typing instead of waiting for the delay timer
+ (setq company-idle-delay 0)
)
;; Do not write anything past this comment. This is where Emacs will