summaryrefslogtreecommitdiff
path: root/README
blob: 399c2641ce60853b3c045bddeb0eab19daf5563f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82

* Install

  - In your .emacs:

    (load-file "<path-to-geiser>/elisp/geiser.el")
    (geiser-setup)

  - Check the geiser customization group for some options. In
    particular, geiser-repl-guile-binary, which should point to a
    guile-vm executable.

* Quick key reference

*** In Scheme buffers:

    |---------+-------------------------------------------------|
    | C-cC-z  | Switch to REPL                                  |
    |---------+-------------------------------------------------|
    | M-.     | Edit symbol at point                            |
    | M-,     | Go back to where M-. was last invoked           |
    | C-cC-em | Ask for a module and open its file              |
    |---------+-------------------------------------------------|
    | C-M-x   | Eval definition around point                    |
    | C-cM-e  | Eval definition around point and switch to REPL |
    | C-xC-e  | Eval sexp before point                          |
    | C-cC-r  | Eval region                                     |
    | C-cM-r  | Eval region and switch to REPL                  |
    |---------+-------------------------------------------------|
    | C-cC-k  | Compile and load current file                   |
    | C-cC-l  | Load current file                               |
    |---------+-------------------------------------------------|
    | C-cC-dd | See documentation for symbol at point           |
    | C-cC-dm | See module documentation                        |
    | C-cC-da | Toggle autodoc mode                             |
    |---------+-------------------------------------------------|

       If `geiser-mode-smart-tab-p' is nil
    |----------+-------------------------------|
    | M-TAB    | Complete symbol at point      |
    | C-uM-TAB | Complete module name at point |
    |----------+-------------------------------|

       If `geiser-mode-smart-tab-p' is t
    |-------+-----------------------------------------|
    | TAB   | Complete symbol at point or indent      |
    | M-TAB | Complete module name at point or indent |
    |-------+-----------------------------------------|

*** In the REPL

    |--------------+-----------------------------------------|
    | C-cC-z, C-cz | Start Scheme REPL (if it's not running) |
    |--------------+-----------------------------------------|
    | M-.          | Edit symbol at point                    |
    | TAB          | Complete symbol at point                |
    | M-TAB        | Complete module name at point           |
    |--------------+-----------------------------------------|
    | M-p, M-n     | Prompt history, matching current prefix |
    |--------------+-----------------------------------------|
    | C-ck         | Compile and load scheme file            |
    | C-cl         | Load scheme file                        |
    |--------------+-----------------------------------------|
    | C-cd         | See documentation for symbol at point   |
    | C-cm         | See module documentation                |
    | C-ca         | Toggle autodoc mode                     |
    |--------------+-----------------------------------------|

*** In the documentation browser:

    |-----------+----------------------------------------------|
    | n/p       | next/previous page                           |
    | l         | previous page                                |
    | SPC/S-SPC | scroll up/down                               |
    | TAB/S-TAB | next/previous link                           |
    | k         | kill current page and go to previous or next |
    | r         | refresh page                                 |
    | c         | clean browsing history                       |
    | M-.       | edit symbol at point                         |
    | C-cz      | switch to REPL                               |
    | q         | bury buffer                                  |
    |-----------+----------------------------------------------|