Skip to content

Commit

Permalink
Support undo-tree
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr committed Nov 27, 2014
1 parent 8af69d7 commit 2e7bf1e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Press `fd` quickly to:
- quit help buffers
- quit apropos buffers
- quit ert buffers
- quit undo-tree buffer
- hide neotree buffer

And more to come !
Expand Down
5 changes: 4 additions & 1 deletion evil-escape.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
;; Author: Sylvain Benner <[email protected]>
;; Keywords: convenience editing evil
;; Created: 22 Oct 2014
;; Version: 1.5.2
;; Version: 1.6.0
;; Package-Requires: ((emacs "24") (evil "1.0.9") (key-chord "0.6"))
;; URL: https://github.com/syl20bnr/evil-escape

Expand Down Expand Up @@ -38,6 +38,7 @@
;; - quit help buffers
;; - quit apropos buffers
;; - quit ert buffers
;; - quit undo-tree buffer
;; - hide neotree buffer
;; And more to come !

Expand Down Expand Up @@ -167,6 +168,8 @@ with a key sequence."
(eq 'ert-results-mode major-mode)
(eq 'ert-simple-view-mode major-mode))
(quit-window))
((eq 'undo-tree-visualizer-mode major-mode)
(undo-tree-visualizer-quit))
((eq 'neotree-mode major-mode) (neotree-hide))
(t (evil-normal-state))))))
(eval `(evil-escape-define-escape evil-motion-state-map ,exit-func
Expand Down

0 comments on commit 2e7bf1e

Please sign in to comment.