This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/!fun/games/packages.el

27 lines
767 B
EmacsLisp
Raw Normal View History

2015-05-16 17:28:19 +00:00
;;; packages.el --- games Layer packages File for Spacemacs
;;
;; Copyright (c) 2012-2014 Sylvain Benner
;; Copyright (c) 2014-2015 Sylvain Benner & Contributors
;;
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
(defvar games-packages '(2048-game))
(defun games/init-2048-game ()
(use-package 2048-mode
:defer t
:init
(progn
(push '("2048" . (2048-game :quit (kill-buffer-ask (get-buffer "2048"))
:reset 2048-init)) helm-games-list)
2015-05-16 17:28:19 +00:00
(evilify 2048-mode 2048-mode-map
"j" '2048-down
"k" '2048-up
"h" '2048-left
"l" '2048-right))))