aboutsummaryrefslogtreecommitdiffstats
path: root/_spacemacs
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-05-08 19:12:58 +0800
committerAaron LI <aaronly.me@gmail.com>2016-05-08 19:12:58 +0800
commitb924b536987b3b36c94a50f887d3ba63e124a325 (patch)
tree570b6ee943507e6ef25ab8b7304399f052bea94a /_spacemacs
parent9b56afac917732be8a35fa20d5d146a9d7dcdd11 (diff)
downloaddotfiles-b924b536987b3b36c94a50f887d3ba63e124a325.tar.bz2
_spacemacs: adjust auto-completion settings
Diffstat (limited to '_spacemacs')
-rw-r--r--_spacemacs13
1 files changed, 10 insertions, 3 deletions
diff --git a/_spacemacs b/_spacemacs
index 9b4a6e0..cc3762f 100644
--- a/_spacemacs
+++ b/_spacemacs
@@ -3,7 +3,7 @@
;;
;; Aaron LI
;; Created: 2016-04-30
-;; Updated: 2016-05-03
+;; Updated: 2016-05-04
;;
@@ -29,8 +29,13 @@ values."
;; <M-m f e R> (Emacs style) to install them.
;; ----------------------------------------------------------------
(auto-completion :variables
+ auto-completion-return-key-behavior nil
auto-completion-complete-with-key-sequence "jk"
- auto-completion-complete-with-key-sequence-delay 0.1)
+ auto-completion-complete-with-key-sequence-delay 0.1
+ auto-completion-enable-snippets-in-popup t
+ auto-completion-enable-help-tooltip t
+ ;; Provided by `company-statistics' when `company' used
+ auto-completion-enable-sort-by-usage t)
;; better-defaults
c-c++
(chinese :variables chinese-enable-fcitx t)
@@ -277,8 +282,10 @@ layers configuration. You are free to put any user code."
;; Wrap long lines
;; Credit: https://emacs.stackexchange.com/a/19364
(spacemacs/toggle-truncate-lines-off)
+ ;; Explicitly allow wrapping long lines in `org-mode'
+ (add-hook 'org-mode-hook (lambda () (setq truncate-lines nil)))
;; Change `powerline' separator
- (setq powerline-default-separator 'arrow)
+ (setq powerline-default-separator nil)
;; 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