This commit is contained in:
JAremko 2017-03-29 18:08:53 +03:00 committed by syl20bnr
parent fcf72db3ed
commit 96be9c9aeb
3 changed files with 11 additions and 0 deletions

View File

@ -331,6 +331,9 @@ restricts line-number to the specified list of major-mode.")
over any automatically added closing parenthesis, bracket, quote, etc
This can be temporary disabled by pressing `C-q' before `)'. (default nil)")
(defvar dotspacemacs-zone-when-idle-for nil
"If non-nil zone out after being idle for VALUE seconds.")
(defvar dotspacemacs-highlight-delimiters 'all
"Select a scope to highlight delimiters. Possible values are `any',
`current', `all' or `nil'. Default is `all' (highlight any scope and

View File

@ -276,6 +276,8 @@ values."
;; over any automatically added closing parenthesis, bracket, quote, etc…
;; This can be temporary disabled by pressing `C-q' before `)'. (default nil)
dotspacemacs-smart-closing-parenthesis nil
;; If non-nil zone out after being idle for VALUE seconds.
dotspacemacs-zone-when-idle-for nil
;; Select a scope to highlight delimiters. Possible values are `any',
;; `current', `all' or `nil'. Default is `all' (highlight any scope and
;; emphasis the current one). (default 'all)

View File

@ -56,6 +56,7 @@
(visual-line-mode :location built-in)
(whitespace :location built-in)
(winner :location built-in)
zone
))
;; Initialization of packages
@ -538,4 +539,9 @@
(append winner-boring-buffers spacemacs/winner-boring-buffers))
(winner-mode t))))
(defun spacemacs-base/init-zone ()
(when dotspacemacs-zone-when-idle-for
(zone-when-idle dotspacemacs-zone-when-idle-for))
(spacemacs/set-leader-keys "Z" 'zone))
(defun spacemacs-base/init-centered-buffer-mode ())