summaryrefslogtreecommitdiff
path: root/.config/emacs/modules/mm-tetris.el
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2026-04-03 02:09:58 +0200
committerThomas Voss <mail@thomasvoss.com> 2026-04-03 02:09:58 +0200
commitdaeeecee613987bd821b4e15d03b2cb925cd88b0 (patch)
treeac0a00fbd75e586431244832b1e1ee846bd17f68 /.config/emacs/modules/mm-tetris.el
parent42effeee09203f4ec101bb3c0e5c9028bcce97fc (diff)
emacs: Mark the config as legacy
Diffstat (limited to '.config/emacs/modules/mm-tetris.el')
-rw-r--r--.config/emacs/modules/mm-tetris.el20
1 files changed, 0 insertions, 20 deletions
diff --git a/.config/emacs/modules/mm-tetris.el b/.config/emacs/modules/mm-tetris.el
deleted file mode 100644
index 06fae58..0000000
--- a/.config/emacs/modules/mm-tetris.el
+++ /dev/null
@@ -1,20 +0,0 @@
-;;; mm-tetris.el --- Emacs configurations for ‘tetris’ -*- lexical-binding: t; -*-
-
-(defun mm-tetris-rotate-mirror ()
- "Rotate the current piece by 180°."
- (declare (modes tetris-mode))
- (interactive)
- (tetris-rotate-next)
- (tetris-rotate-next))
-
-(use-package tetris
- :bind (:map tetris-mode-map
- ("a" . tetris-move-left)
- ("d" . tetris-move-right)
- ("k" . tetris-rotate-next)
- (";" . tetris-rotate-prev)
- ("l" . tetris-move-down)
- ("o" . mm-tetris-rotate-mirror)
- ("SPC" . tetris-move-bottom)))
-
-(provide 'mm-tetris)