From 7d7d512a07516c2d3aa09322142d87bdf048b3ca Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 25 Aug 2023 18:12:12 +0300 Subject: emacs: Add ‘mango-tetris-rotate-mirror’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/emacs/config.org | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.config/emacs') diff --git a/.config/emacs/config.org b/.config/emacs/config.org index 1614459..a06f592 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -454,6 +454,11 @@ Tetris is epic, but the bindings are not so epic. #+BEGIN_SRC elisp + (defun mango-tetris-rotate-mirror () + (interactive) + (tetris-rotate-next) + (tetris-rotate-next)) + (use-package tetris :hook (tetris-mode . (lambda () (evil-local-mode -1))) :bind (:map tetris-mode-map @@ -461,7 +466,8 @@ Tetris is epic, but the bindings are not so epic. ("d" . #'tetris-move-right) ("k" . #'tetris-rotate-next) (";" . #'tetris-rotate-prev) - ("s" . #'tetris-move-down) + ("l" . #'tetris-move-down) + ("o" . #'mango-tetris-rotate-mirror) ("SPC" . #'tetris-move-bottom))) #+END_SRC -- cgit v1.2.3