Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-line support with Reline (see IRB Ruby 2.7) #2104

Closed
svoop opened this issue Feb 20, 2020 · 4 comments
Closed

Multi-line support with Reline (see IRB Ruby 2.7) #2104

svoop opened this issue Feb 20, 2020 · 4 comments

Comments

@svoop
Copy link

svoop commented Feb 20, 2020

Ruby 2.7 IRB comes with very handy multi-line handling powered by Reline.

@kyrylo wrote on #1524

This looks exciting. Therefore, in order to stay on top of the game, we have to investigate this and make Pry support this. It will probably close this issue as well.

@zw963
Copy link

zw963 commented Mar 7, 2020

Yes, this feature is really nice when working on production use console try to repaste a big method,
for now, i have to copy/paste again and again.

@gmonein
Copy link

gmonein commented Dec 21, 2020

In Rails you can use edit command, this will open default editor (set by EDITOR env variable) for multiline script, or even paste in pry ;)

@fdr
Copy link

fdr commented Mar 13, 2021

It's also very good for Ctrl-R reverse-i-search. This doesn't have a good workaround like "edit".

@andrehjr
Copy link
Member

Closing this as a duplicate of #2063

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants