Sweep defines a keymap called sweeprolog-prefix-map
that
provides global keybindings for several useful Sweep commands. By
default, sweeprolog-prefix-map
itself is not bound to any key.
To bind it to C-c p, add the following to your Emacs
configuration:
(keymap-global-set "C-c p" 'sweeprolog-prefix-map)
C-c p is the recommended binding for
sweeprolog-prefix-map
, but you’re free to pick any key sequence
you like. As an example, with the above binding you can access the
Sweep top-level from anywhere with C-c p t.
The full list of keybindings in sweeprolog-prefix-map
, assuming
the recommended key binding, is given below:
sweeprolog-find-module
(see Finding Prolog Code).
sweeprolog-find-predicate
(see Finding Prolog Code).
sweeprolog-top-level
(see The Prolog Top-level).
sweeprolog-top-level-send-goal
(see Sending Goals to the Top-level).
sweeprolog-load-buffer
(see Loading Buffers).
sweeprolog-async-goal
(see Executing Prolog Asynchronously).
sweeprolog-list-breakpoints
(see Breakpoint Menu).
sweeprolog-pack-install
(see Installing Prolog Packages).
sweeprolog-restart
(see Prolog Initialization and Cleanup).
sweeprolog-set-prolog-flag
(see Setting Prolog Flags).
sweeprolog-list-top-levels
(see The Top-level Menu buffer).
sweeprolog-xref-project-source-files
(see Definitions and References).
sweeprolog-describe-module
(see Prolog Help).
sweeprolog-describe-predicate
(see Prolog Help).
sweeprolog-view-messages
(see Examining Prolog Messages).
sweeprolog-view-news
(see Discovering Sweep).