diff options
| author | Steven Allen <steven@stebalien.com> | 2022-01-13 12:21:32 -0800 |
|---|---|---|
| committer | James <1227856+jojojames@users.noreply.github.com> | 2022-01-23 04:43:56 -0800 |
| commit | ffe4f66d431cc6039a1c66b0fefca4e94ee57095 (patch) | |
| tree | e55771a8e1398d38a4ea01de812323cd57f350de /modes/tetris | |
| parent | e8d1eb117a67a1e42d0ec7418fee4a42c5d2b479 (diff) | |
Avoid binding escape to bury-buffer and quit-window
Escape usually means to:
1. Return to normal mode.
2. Abort the minibuffer.
By binding it to quit-window (or equivalent), hitting escape a few times
to exit a (potentially recursive) minibuffer, etc. can cause buffers to
vanish.
It's also:
1. Inconsistently applied.
2. Redundant with "q" (which is consistently applied).
Diffstat (limited to 'modes/tetris')
| -rw-r--r-- | modes/tetris/evil-collection-tetris.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modes/tetris/evil-collection-tetris.el b/modes/tetris/evil-collection-tetris.el index 9583cea..11962a4 100644 --- a/modes/tetris/evil-collection-tetris.el +++ b/modes/tetris/evil-collection-tetris.el @@ -49,8 +49,7 @@ "p" 'tetris-pause-game "q" 'quit-window "ZQ" 'quit-window - "ZZ" 'tetris-end-game - (kbd "<escape>") 'quit-window)) + "ZZ" 'tetris-end-game)) (provide 'evil-collection-tetris) ;;; evil-collection-tetris.el ends here |
