summaryrefslogtreecommitdiff
path: root/README
blob: 1a00d0982c4ff7880447e33fec69d1fb92f33c43 (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

* 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-M-x, C-cC-e | Eval definition around point                    |
    | C-cMe         | 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 docstring 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                     |
    |--------------+-----------------------------------------|