diff options
author | Aaron LI <aaronly.me@gmail.com> | 2016-05-08 19:12:58 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@gmail.com> | 2016-05-08 19:12:58 +0800 |
commit | b924b536987b3b36c94a50f887d3ba63e124a325 (patch) | |
tree | 570b6ee943507e6ef25ab8b7304399f052bea94a /_spacemacs | |
parent | 9b56afac917732be8a35fa20d5d146a9d7dcdd11 (diff) | |
download | dotfiles-b924b536987b3b36c94a50f887d3ba63e124a325.tar.bz2 |
_spacemacs: adjust auto-completion settings
Diffstat (limited to '_spacemacs')
-rw-r--r-- | _spacemacs | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -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 |