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

* 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-d        | See docstring for symbol at point               |
    | C-cC-a        | 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 docstring for symbol at point       |
    | C-ca         | Toggle autodoc mode                     |
    |--------------+-----------------------------------------|