diff options
| author | Thomas Voss <mail@thomasvoss.com> | 2023-08-25 11:35:07 +0300 | 
|---|---|---|
| committer | Thomas Voss <mail@thomasvoss.com> | 2023-08-25 11:35:07 +0300 | 
| commit | f64328804b0d8c105c1023e5df49b8f1fa4165f1 (patch) | |
| tree | 60561b31ab58146824eaf03660105b041127537f /.config/emacs/config.org | |
| parent | 25327dbe70efe9e9b344d0d0ea9098737c83f402 (diff) | |
emacs: Add tetris bindings
Diffstat (limited to '.config/emacs/config.org')
| -rw-r--r-- | .config/emacs/config.org | 18 | 
1 files changed, 18 insertions, 0 deletions
diff --git a/.config/emacs/config.org b/.config/emacs/config.org index f4f8d9d..1614459 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -448,6 +448,24 @@ Commenting code is a super common task — so make it an operator!  #+END_SRC +*** Tetris + +Tetris is epic, but the bindings are not so epic. + +#+BEGIN_SRC elisp + +  (use-package tetris +    :hook (tetris-mode . (lambda () (evil-local-mode -1))) +    :bind (:map tetris-mode-map +           ("a"   . #'tetris-move-left) +           ("d"   . #'tetris-move-right) +           ("k"   . #'tetris-rotate-next) +           (";"   . #'tetris-rotate-prev) +           ("s"   . #'tetris-move-down) +           ("SPC" . #'tetris-move-bottom))) + +#+END_SRC +  ** Completions  *** Savehist-Mode  |