Variable: tutorial--default-keys

tutorial--default-keys is a variable defined in tutorial.el.gz.

Value

((backward-kill-word [134217855]) (yank-pop [134217849])
 (execute-extended-command [134217848])
 (scroll-down-command [134217846]) (fill-paragraph [134217841])
 (kill-sentence [134217835]) (forward-word [134217830])
 (forward-sentence [134217829]) (kill-word [134217828])
 (backward-word [134217826]) (backward-sentence [134217825])
 (end-of-buffer [134217790]) (beginning-of-buffer [134217788])
 (scroll-other-window [134217750]) (set-mark-command [67108896])
 (delete-backward-char "") (keyboard-escape-quit [27 27 27])
 (ESC-prefix [27]) (suspend-frame [26]) (yank [25]) (undo [24 117])
 (save-some-buffers [24 115]) (other-window [24 111])
 (set-fill-column [24 102]) (switch-to-buffer [24 98])
 (find-file-other-window [24 52 6]) (split-window-below [24 50])
 (delete-other-windows [24 49]) (save-buffer [24 19])
 (downcase-region [24 12]) (find-file [24 6])
 (save-buffers-kill-terminal [24 3]) (list-buffers [24 2])
 (Control-X-prefix [24]) (kill-region [23]) (scroll-up-command [22])
 (universal-argument [21]) (isearch-forward [19])
 (isearch-backward [18]) (previous-line [16]) (next-line [14])
 (newline "
") (recenter-top-bottom [12]) (kill-line [11])
 (describe-mode [8 109]) (describe-key [8 107])
 (describe-key-briefly [8 99]) (keyboard-quit [7]) (forward-char [6])
 (move-end-of-line [5]) (delete-char [4])
 (mode-specific-command-prefix [3]) (backward-char [2])
 (move-beginning-of-line [1]) (set-mark-command [0]))

Documentation

Default Emacs key bindings that the tutorial depends on.

Source Code

;; Defined in /usr/src/emacs/lisp/tutorial.el.gz
(defconst tutorial--default-keys
  ;; On window system, `suspend-emacs' is replaced in the default keymap.
  (let* ((suspend-emacs 'suspend-frame)
         (default-keys
           ;; The first few are not mentioned but are basic:
           `((ESC-prefix [27])
             (Control-X-prefix [?\C-x])
             (mode-specific-command-prefix [?\C-c])
             (save-buffers-kill-terminal [?\C-x ?\C-c])

             ;; * SUMMARY
             (scroll-up-command [?\C-v])
             (scroll-down-command [?\M-v])
             (recenter-top-bottom [?\C-l])

             ;; * BASIC CURSOR CONTROL
             (forward-char [?\C-f])
             (backward-char [?\C-b])
             (forward-word [?\M-f])
             (backward-word [?\M-b])
             (next-line [?\C-n])
             (previous-line [?\C-p])
             (move-beginning-of-line [?\C-a])
             (move-end-of-line [?\C-e])
             (backward-sentence [?\M-a])
             (forward-sentence [?\M-e])
             (newline "\r")
             (beginning-of-buffer [?\M-<])
             (end-of-buffer [?\M->])
             (universal-argument [?\C-u])

             ;; * WHEN EMACS IS HUNG
             (keyboard-quit [?\C-g])

             ;; * DISABLED COMMANDS
             (downcase-region [?\C-x ?\C-l])

             ;; * WINDOWS
             (delete-other-windows [?\C-x ?1])
             ;; C-u 0 C-l
             ;; Type CONTROL-h k CONTROL-f.

             ;; * INSERTING AND DELETING
             ;; C-u 8 * to insert ********.
             (delete-backward-char "\d")
             (delete-char [?\C-d])
             (backward-kill-word [?\M-\d])
             (kill-word [?\M-d])
             (kill-line [?\C-k])
             (kill-sentence [?\M-k])
             (set-mark-command [?\C-@])
             (set-mark-command [?\C- ])
             (kill-region [?\C-w])
             (yank [?\C-y])
             (yank-pop [?\M-y])

             ;; * UNDO
             (undo [?\C-x ?u])

             ;; * FILES
             (find-file [?\C-x ?\C-f])
             (save-buffer [?\C-x ?\C-s])

             ;; * BUFFERS
             (list-buffers [?\C-x ?\C-b])
             (switch-to-buffer [?\C-x ?b])
             (save-some-buffers [?\C-x ?s])

             ;; * EXTENDING THE COMMAND SET
             ;; C-x	Character eXtend.  Followed by one character.
             (execute-extended-command [?\M-x])
             ;; C-x C-f		Find file
             ;; C-x C-s		Save file
             ;; C-x s		Save some buffers
             ;; C-x C-b		List buffers
             ;; C-x b		Switch buffer
             ;; C-x C-c		Quit Emacs
             ;; C-x 1		Delete all but one window
             ;; C-x u		Undo

             ;; * MODE LINE
             (describe-mode [?\C-h ?m])
             (set-fill-column [?\C-x ?f])
             (fill-paragraph [?\M-q])

             ;; * SEARCHING
             (isearch-forward [?\C-s])
             (isearch-backward [?\C-r])

             ;; * MULTIPLE WINDOWS
             (split-window-below [?\C-x ?2])
             (scroll-other-window [?\C-\M-v])
             (other-window [?\C-x ?o])
             (find-file-other-window [?\C-x ?4 ?\C-f])

             ;; * RECURSIVE EDITING LEVELS
             (keyboard-escape-quit [27 27 27])

             ;; * GETTING MORE HELP
             ;; The most basic HELP feature is C-h c
             (describe-key-briefly [?\C-h ?c])
             (describe-key [?\C-h ?k])

             ;; * MORE FEATURES
             ;; F10

             ;; * CONCLUSION
             ;;(iconify-or-deiconify-frame [?\C-z])
             (,suspend-emacs [?\C-z]))))
    (sort default-keys 'tutorial--sort-keys))
  "Default Emacs key bindings that the tutorial depends on.")