Next: Shortcuts, Previous: REPL commands, Up: REPL [Contents][Index]
The input navigation (a.k.a. history) commands are modelled after
coming
-mode. Be careful if you are used to Bash-like
keybindings: M-p and M-n use the current input as search
pattern and only work Bash-like if the current line is
empty. C-<up> and C-<up> work like the up and down keys in
Bash.
Go to the next/previous history item.
Search the next/previous item in the command history using the current input as search pattern. If M-n/M-n is typed two times in a row, the second invocation uses the same search pattern (even if the current input has changed).
Search forward/reverse through command history with regex
Move between the current and previous prompts in the REPL buffer. Pressing RET on a line with old input copies that line to the newest prompt.
The variable slime-repl-wrap-history
controls wrap around
behaviour, i.e. whether cycling should restart at the beginning of the
history if the end is reached.