aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-05-12 16:34:53 +0800
committerAaron LI <aaronly.me@gmail.com>2016-05-12 16:34:53 +0800
commit365755847848c8f6375e6961d02b0576630053a0 (patch)
treec59953b2deefdfa1d78f9b82d81742cdc9da4bde
parent3a465611d2628c99e273372dba2dd8f13a5d37cb (diff)
downloaddotfiles-365755847848c8f6375e6961d02b0576630053a0.tar.bz2
_spacemacs: wrap at word position; tune auto-completion
-rw-r--r--_spacemacs8
1 files changed, 5 insertions, 3 deletions
diff --git a/_spacemacs b/_spacemacs
index 9da7570..94b8460 100644
--- a/_spacemacs
+++ b/_spacemacs
@@ -3,7 +3,7 @@
;;
;; Aaron LI
;; Created: 2016-04-30
-;; Updated: 2016-05-08
+;; Updated: 2016-05-12
;;
@@ -29,8 +29,8 @@ 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-return-key-behavior 'complete
+ auto-completion-complete-with-key-sequence "kj"
auto-completion-complete-with-key-sequence-delay 0.1
auto-completion-enable-snippets-in-popup t
auto-completion-enable-help-tooltip t
@@ -284,6 +284,8 @@ layers configuration. You are free to put any user code."
(spacemacs/toggle-truncate-lines-off)
;; Explicitly allow wrapping long lines in `org-mode'
(add-hook 'org-mode-hook (lambda () (setq truncate-lines nil)))
+ ;; Wrap long lines at the space or tab character
+ (setq-default word-wrap t)
;; Change `powerline' separator
(setq powerline-default-separator nil)
;; Set monospaced font size for Chinese