summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-08-25 18:12:12 +0300
committerThomas Voss <mail@thomasvoss.com> 2023-08-25 18:12:59 +0300
commit7d7d512a07516c2d3aa09322142d87bdf048b3ca (patch)
treebb673b0c053239974db8543cd4215ac0f721937f /.config
parent149fdb70d37375f62a937d927d18dd1d99d011b8 (diff)
emacs: Add ‘mango-tetris-rotate-mirror’
Diffstat (limited to '.config')
-rw-r--r--.config/emacs/config.org8
1 files changed, 7 insertions, 1 deletions
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