Variable: 5x5-mode-map

5x5-mode-map is a variable defined in 5x5.el.gz.

Value

<        5x5-solve-rotate-left
<down>   5x5-down
<end>    5x5-eol
<home>   5x5-bol
<left>   5x5-left
<next>   5x5-last
<prior>  5x5-first
<right>  5x5-right
<tab>    5x5-right
<up>     5x5-up
>        5x5-solve-rotate-right
?        describe-mode
C-a      5x5-bol
C-b      5x5-left
C-c C-b  5x5-crack-mutating-best
C-c C-c  5x5-crack-mutating-current
C-c C-r  5x5-crack-randomly
C-c C-x  5x5-crack-xor-mutate
C-e      5x5-eol
C-f      5x5-right
C-n      5x5-down
C-p      5x5-up
RET      5x5-flip-current
SPC      5x5-flip-current
SPC..~   undefined
n        5x5-new-game
q        5x5-quit-game
r        5x5-randomize
s        5x5-solve-suggest

Documentation

Local keymap for the 5x5 game.

Source Code

;; Defined in /usr/src/emacs/lisp/play/5x5.el.gz
(defvar 5x5-mode-map
  (let ((map (make-sparse-keymap)))
    (suppress-keymap map t)
    (define-key map "?"                       #'describe-mode)
    (define-key map "\r"                      #'5x5-flip-current)
    (define-key map " "                       #'5x5-flip-current)
    (define-key map [up]                      #'5x5-up)
    (define-key map [down]                    #'5x5-down)
    (define-key map [left]                    #'5x5-left)
    (define-key map [tab]                     #'5x5-right)
    (define-key map [right]                   #'5x5-right)
    (define-key map [(control a)]             #'5x5-bol)
    (define-key map [(control e)]             #'5x5-eol)
    (define-key map [(control p)]             #'5x5-up)
    (define-key map [(control n)]             #'5x5-down)
    (define-key map [(control b)]             #'5x5-left)
    (define-key map [(control f)]             #'5x5-right)
    (define-key map [home]                    #'5x5-bol)
    (define-key map [end]                     #'5x5-eol)
    (define-key map [prior]                   #'5x5-first)
    (define-key map [next]                    #'5x5-last)
    (define-key map "r"                       #'5x5-randomize)
    (define-key map [(control c) (control r)] #'5x5-crack-randomly)
    (define-key map [(control c) (control c)] #'5x5-crack-mutating-current)
    (define-key map [(control c) (control b)] #'5x5-crack-mutating-best)
    (define-key map [(control c) (control x)] #'5x5-crack-xor-mutate)
    (define-key map "n"                       #'5x5-new-game)
    (define-key map "s"                       #'5x5-solve-suggest)
    (define-key map "<"                       #'5x5-solve-rotate-left)
    (define-key map ">"                       #'5x5-solve-rotate-right)
    (define-key map "q"                       #'5x5-quit-game)
    map)
  "Local keymap for the 5x5 game.")