     "bk"  'kill-buffer-and-window
     "w-"  'split-below-and-focus-scratch
     "w/"  'split-right-and-focus-scratch)
+  ;; Set right margin to 100, and turn it on for all text and programming modes.
+  (setq-default fill-column 100)
+  (spacemacs/add-to-hooks 'turn-on-fci-mode '(text-mode-hook prog-mode-hook))
+  ;; Enable company mode globally and enable both vim and emacs style key bindings of company mode.
+  ;; Only key bindings of the style which represented by dotspacemacs-editing-style will be set by
+  ;; default, even though auto-completion layer add "spacemacs//company-active-navigation" to the
+  ;; the hook "spacemacs-editing-style-hook", because this hook will not be executed when evil
+  ;; switch state between normal and emacs. The company mode must be enabled globally, or function
+  ;; "spacemacs//company-active-navigation" can't be called at here.
+  (global-company-mode)
+  (spacemacs//company-active-navigation 'vim)
+  (spacemacs//company-active-navigation 'emacs)
 
   ;; Below settings only have effects for GUI emacs.
 

          ivy-ignore-buffers '("\\` " "\\`\\*")
          ;; Ignore current dir(.) and father dir(..) in "counsel find file" default.
          ivy-extra-directories nil)
     auto-completion
     better-defaults
     emacs-lisp
     (git :variables

   ;; wrapped in a layer. If you need some configuration for these
   ;; packages, then consider creating a layer. You can also put the
   ;; configuration in `dotspacemacs/user-config'.
   dotspacemacs-additional-packages '(xclip
                                      yasnippet-snippets)
   ;; A list of packages that cannot be updated.
   dotspacemacs-frozen-packages '()
   ;; A list of packages that will not be installed and loaded.
