Skip to content

Commit 9ced44c

Browse files
authored
Merge pull request #1552 from haskell/compilation-docs
Compilation buffer keybindings
2 parents f4add08 + 85305e0 commit 9ced44c

File tree

1 file changed

+81
-0
lines changed

1 file changed

+81
-0
lines changed

doc/haskell-mode.texi

+81
Original file line numberDiff line numberDiff line change
@@ -1148,6 +1148,87 @@ temporarily by invoking @code{haskell-compile} with a prefix argument
11481148
same customized compile command, invoke @code{recompile} (bound to
11491149
@kbd{g}) inside the @samp{*haskell-compilation*} buffer.
11501150

1151+
@section Keybindings
1152+
1153+
@multitable 0.3 0.7
1154+
@headitem Key binding @tab Function
1155+
@item TAB
1156+
@tab compilation-next-error
1157+
1158+
@item RET
1159+
@tab compile-goto-error
1160+
1161+
@item C-o
1162+
@tab compilation-display-error
1163+
1164+
@item SPC
1165+
@tab scroll-up-command
1166+
1167+
@item -
1168+
@tab negative-argument
1169+
1170+
@item 0 .. 9
1171+
@tab digit-argument
1172+
1173+
@item <
1174+
@tab beginning-of-buffer
1175+
1176+
@item >
1177+
@tab end-of-buffer
1178+
1179+
@item ?
1180+
@tab describe-mode
1181+
1182+
@item g
1183+
@tab recompile
1184+
1185+
@item h
1186+
@tab describe-mode
1187+
1188+
@item q
1189+
@tab quit-window
1190+
1191+
@item DEL
1192+
@tab scroll-down-command
1193+
1194+
@item S-SPC
1195+
@tab scroll-down-command
1196+
1197+
@item <backtab>
1198+
@tab compilation-previous-error
1199+
1200+
@item <follow-link>
1201+
@tab mouse-face
1202+
1203+
@item <mouse-2>
1204+
@tab compile-goto-error
1205+
1206+
@item <remap>
1207+
@tab Prefix Command
1208+
1209+
@item M-n
1210+
@tab compilation-next-error
1211+
1212+
@item M-p
1213+
@tab compilation-previous-error
1214+
1215+
@item M-@{
1216+
@tab compilation-previous-file
1217+
1218+
@item M-@}
1219+
@tab compilation-next-file
1220+
1221+
@item C-c C-c
1222+
@tab compile-goto-error
1223+
1224+
@item C-c C-f
1225+
@tab next-error-follow-minor-mode
1226+
1227+
@item C-c C-k
1228+
@tab kill-compilation
1229+
1230+
@end multitable
1231+
11511232
@node Interactive Haskell
11521233
@chapter Interactive Haskell
11531234

0 commit comments

Comments
 (0)