Skip to content

Commit

Permalink
Merge branch 'develop' (v0.3.2)
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr committed Nov 2, 2014
2 parents 6c8b5f1 + 1d855c5 commit 80217fb
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions spacemacs/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,11 @@ DELETE-FUNC when calling CALLBACK.
(spacemacs/escape-state ',seq ',shadowed nil nil 'evil-exit-visual-state)))
(define-key evil-motion-state-map key
`(lambda () (interactive)
(let ((exit-func (if (eq 'help-mode major-mode)
'quit-window
'evil-normal-state)))
(let ((exit-func (cond ((eq 'help-mode major-mode)
'quit-window)
((eq 'neotree-mode major-mode)
'neotree-hide)
(t 'evil-normal-state))))
(spacemacs/escape-state ',seq ',shadowed nil nil exit-func))))
(eval-after-load 'evil-lisp-state
`(define-key evil-lisp-state-map ,key
Expand Down Expand Up @@ -1188,6 +1190,7 @@ DELETE-FUNC when calling CALLBACK.
(spacemacs/no-golden-ratio-for-buffers " *popwin-dummy*")))
(add-to-list 'golden-ratio-inhibit-functions
'spacemacs/no-golden-ratio-guide-key)
(add-to-list 'golden-ratio-exclude-buffer-names " *NeoTree*")

(spacemacs//diminish golden-ratio-mode ""))))

Expand Down Expand Up @@ -1532,6 +1535,7 @@ DELETE-FUNC when calling CALLBACK.
:defer t
:init
(progn
(add-to-list 'evil-motion-state-modes 'neotree-mode)
(setq neo-create-file-auto-open t
neo-dont-be-alone t
neo-banner-message "File Tree browser"
Expand Down

0 comments on commit 80217fb

Please sign in to comment.