[RFC]: add reverse-search support in the REPL #2069
Labels
difficulty: 4
Likely to be moderately difficult.
Enhancement
Issue or pull request for enhancing existing functionality.
JavaScript
Issue involves or relates to JavaScript.
Needs Discussion
Needs further discussion.
priority: Normal
Normal priority concern or feature request.
REPL
Issue or pull request specific to the project REPL.
RFC
Request for comments. Feature requests and proposed changes.
Description
This RFC proposes adding reverse search support in the REPL. The basic idea is to enable entering a search mode in order to more efficiently cycle through previous commands. Currently, in order to run a previous command, one must hit the UP arrow key until finding the command. This RFC proposes enabling a mode where you can filter history to more quickly find a matching command.
This behavior is currently enabled in the built-in Node.js REPL and matches that found in ZSH.
For references better explaining the expected behavior, see below.
Related Issues
search
API to the REPL #2059search
API to the REPL #2059 concerns searching for functionality and documentation, while this RFC concerns efficient previous command lookup.Questions
Other
Checklist
RFC:
.The text was updated successfully, but these errors were encountered: