nodejs / repl

REPL rewrite for Node.js ✨🐢🚀✨
MIT License
177 stars 25 forks source link

repl Ctrl-r keybinding to search history #34

Closed vapniks closed 4 years ago

vapniks commented 5 years ago

Most repl's I've used before allow you to quickly get a previous command back by using the Ctrl+r key to search the command history. It makes life so much easier when you're testing stuff out. Any chance this could be implemented for the nodejs repl?

DanielFGray commented 4 years ago

To piggy back on this idea, in bash and zsh I have a bind on Ctrl-r to show my history in fzf, it would be great if there was some kind of mechanism to provide re-maps (prehaps maybe some kind of .nodereplrc.js?)