From 365755847848c8f6375e6961d02b0576630053a0 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Thu, 12 May 2016 16:34:53 +0800 Subject: _spacemacs: wrap at word position; tune auto-completion --- _spacemacs | 8 +++++--- 1 file 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." ;; (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 -- cgit v1.2.2