cheat.texi (6838B)
1 @node Cheat sheet, No hacker is an island, Between the parens, Top 2 @chapter Cheat sheet 3 4 In the tables below, triple chords always accept a variant with the 5 third key not modified by @key{Control}; e.g., 6 @code{geiser-autodoc-show} is bound both to @kbd{C-c C-d C-s} and 7 @kbd{C-c C-d s}. 8 9 @menu 10 * Scheme buffers:: 11 * REPL:: 12 * Documentation browser:: 13 @end menu 14 15 @node Scheme buffers, REPL, Cheat sheet, Cheat sheet 16 @section Scheme buffers 17 18 @multitable @columnfractions .20 .4 .4 19 @headitem Key @tab Command @tab Description 20 @item C-c C-z 21 @tab @code{geiser-mode-switch-to-repl} 22 @tab Switch to REPL 23 @item C-c C-a 24 @tab @code{geiser-mode-switch-to-repl-and-enter} 25 @tab Switch to REPL and current module (also @kbd{C-u C-c C-z}) 26 @item C-c C-s 27 @tab @code{geiser-set-scheme} 28 @tab Specify Scheme implementation for buffer 29 @item @tab @tab 30 @item M-. 31 @tab @code{geiser-edit-symbol-at-point} 32 @tab Go to definition of identifier at point 33 @item M-, 34 @tab @code{geiser-pop-symbol-stack} 35 @tab Go back to where M-. was last invoked 36 @item C-c C-e C-m 37 @tab @code{geiser-edit-module} 38 @tab Ask for a module and open its file 39 @item C-c C-e C-l 40 @tab @code{geiser-add-to-load-path} 41 @tab Ask for a directory and add to Scheme load path 42 @item C-c C-e C-[ 43 @tab @code{geiser-squarify} 44 @tab Toggle between () and [] for current form 45 @item C-c C-\ 46 @tab @code{geiser-insert-lambda} 47 @tab Insert greek lambda or, with prefix, a lambda form 48 @item @tab @tab 49 @item C-c C-i 50 @tab @code{geiser-eval-interrupt} 51 @tab Interrupt ongoing evaluation 52 @item C-M-x 53 @tab @code{geiser-eval-definition} 54 @tab Eval definition around point 55 @item C-c C-c 56 @tab @code{geiser-eval-definition} 57 @tab Eval definition around point 58 @item C-c M-e 59 @tab @code{geiser-eval-definition-and-go} 60 @tab Eval definition around point and switch to REPL 61 @item C-c M-c 62 @tab @code{geiser-eval-definition-and-go} 63 @tab Eval definition around point and switch to REPL 64 @item C-x C-e 65 @tab @code{geiser-eval-last-sexp} 66 @tab Eval sexp before point 67 @item C-c C-r 68 @tab @code{geiser-eval-region} 69 @tab Eval region 70 @item C-c M-r 71 @tab @code{geiser-eval-region-and-go} 72 @tab Eval region and switch to REPL 73 @item C-c C-b 74 @tab @code{geiser-eval-buffer} 75 @tab Eval buffer 76 @item C-c M-b 77 @tab @code{geiser-eval-buffer-and-go} 78 @tab Eval buffer and switch to REPL 79 @item @tab @tab 80 @item C-c C-m C-x 81 @tab @code{geiser-expand-definition} 82 @tab Macro-expand definition around point 83 @item C-c C-m C-e 84 @tab @code{geiser-expand-last-sexp} 85 @tab Macro-expand sexp before point 86 @item C-c C-m C-r 87 @tab @code{geiser-expand-region} 88 @tab Macro-expand region 89 @item @tab @tab 90 @item C-c C-k 91 @tab @code{geiser-compile-current-buffer} 92 @tab Compile and load current file; with prefix, restart REPL before 93 @item C-c C-l 94 @tab @code{geiser-load-file} 95 @tab Load scheme file 96 @item M-g n, C-x ` 97 @tab @code{next-error} 98 @tab Jump to the location of next error 99 @item M-g p 100 @tab @code{previous-error} 101 @tab Jump to the location of previous error 102 @item @tab @tab 103 @item C-c C-d C-d 104 @tab @code{geiser-doc-symbol-at-point} 105 @tab See documentation for identifier at point 106 @item C-c C-d C-s 107 @tab @code{geiser-autodoc-show} 108 @tab Show signature or value for identifier at point in echo area 109 @item C-c C-d C-m 110 @tab @code{geiser-doc-module} 111 @tab See a list of a module's exported identifiers 112 @item C-c C-d C-i 113 @tab @code{geiser-doc-look-up-manual} 114 @tab Look up manual for symbol at point 115 @item C-c C-d C-a 116 @tab @code{geiser-autodoc-mode} 117 @tab Toggle autodoc mode 118 @item @tab @tab 119 @item C-c < 120 @tab @code{geiser-xref-callers} 121 @tab Show callers of procedure at point 122 @item C-c > 123 @tab @code{geiser-xref-callees} 124 @tab Show callees of procedure at point 125 @item @tab @tab 126 @item M-TAB 127 @tab @code{completion-at-point} 128 @tab Complete identifier at point 129 @item M-`, C-. 130 @tab @code{geiser-capf-complete-module} 131 @tab Complete module name at point 132 @end multitable 133 134 @node REPL, Documentation browser, Scheme buffers, Cheat sheet 135 @section REPL 136 137 @multitable @columnfractions .20 .4 .4 138 @headitem Key @tab Command @tab Description 139 @item C-c C-z 140 @tab @code{geiser-repl-switch} 141 @tab Start Scheme REPL, or jump to previous buffer 142 @item C-c M-o 143 @tab @code{geiser-repl-clear-buffer} 144 @tab Clear REPL buffer 145 @item C-c C-k 146 @tab @code{geiser-repl-interrupt} 147 @tab Interrupt REPL evaluation (signalling inferior scheme) 148 @item C-c C-q 149 @tab @code{geiser-repl-exit} 150 @tab Kill Scheme process 151 @item M-. 152 @tab @code{geiser-edit-symbol-at-point} 153 @tab Edit identifier at point 154 @item C-c C-l 155 @tab @code{geiser-load-file} 156 @tab Load scheme file 157 @item TAB 158 @tab @code{geiser-repl-tab-dwim} 159 @tab Complete, indent, or go to next error 160 @item S-TAB (backtab) 161 @tab @code{geiser-repl--previous-error} 162 @tab Go to previous error in the REPL buffer 163 @item M-TAB 164 @tab @code{completion-at-point} 165 @tab Complete identifier at point 166 @item M-`, C-. 167 @tab @code{geiser-capf-complete-module} 168 @tab Complete module name at point 169 @item C-c [, C-c C-[ 170 @tab @code{geiser-squarify} 171 @tab Toggle between () and [] for current form 172 @item C-c \, C-c C-\ 173 @tab @code{geiser-insert-lambda} 174 @tab Insert greek lambda or, with prefix, a lambda form 175 @item C-c C-r 176 @tab @code{geiser-add-to-load-path} 177 @tab Ask for a directory and add to Scheme load path 178 @item M-p, M-n 179 @tab (comint commands) 180 @tab Prompt history, matching current prefix 181 @item C-c M-p, C-c M-n 182 @tab (comint commands) 183 @tab Previous/next prompt inputs 184 @item C-c C-m 185 @tab @code{geiser-repl-switch-to-module} 186 @tab Set current module 187 @item C-c C-i 188 @tab @code{geiser-repl-import-module} 189 @tab Import module into current namespace 190 @item C-c C-d C-d 191 @tab @code{geiser-doc-symbol-at-point} 192 @tab See documentation for symbol at point 193 @item C-c C-d C-i 194 @tab @code{geiser-doc-look-up-manual} 195 @tab Look up manual for symbol at point 196 @item C-c C-d C-m 197 @tab @code{geiser-repl--doc-module} 198 @tab See documentation for module 199 @item C-c C-d C-a 200 @tab @code{geiser-autodoc-mode} 201 @tab Toggle autodoc mode 202 @end multitable 203 204 @node Documentation browser, , REPL, Cheat sheet 205 @section Documentation browser 206 207 @multitable @columnfractions .20 .4 .4 208 @headitem Key @tab Command @tab Description 209 @item TAB, n 210 @tab @code{forward-button} 211 @tab Next link 212 @item S-TAB, p 213 @tab @code{backward-button} 214 @tab Previous link 215 @item N 216 @tab @code{geiser-doc-next-section} 217 @tab Next section 218 @item P 219 @tab @code{geiser-doc-previous-section} 220 @tab Previous section 221 @item f 222 @tab @code{geiser-doc-next} 223 @tab Next page 224 @item b 225 @tab @code{geiser-doc-previous} 226 @tab Previous page 227 @item k 228 @tab @code{geiser-doc-kill-page} 229 @tab Kill current page and go to previous or next 230 @item g, r 231 @tab @code{geiser-doc-refresh} 232 @tab Refresh page 233 @item c 234 @tab @code{geiser-doc-clean-history} 235 @tab Clear browsing history 236 @item ., M-. 237 @tab @code{geiser-doc-edit-symbol-at-point} 238 @tab Edit identifier at point 239 @item z 240 @tab @code{geiser-doc-switch-to-repl} 241 @tab Switch to REPL 242 @item q 243 @tab @code{View-quit} 244 @tab Bury buffer 245 @end multitable 246 247 @ifhtml 248 @html 249 <hr> 250 @end html 251 @end ifhtml