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

* 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           |
    | M-TAB         | Complete symbol at point                        |
    | C-uM-TAB      | Complete module name at point                   |
    |---------------+-------------------------------------------------|
    | 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                             |
    |---------------+-------------------------------------------------|

*** 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                     |
    |--------------+-----------------------------------------|