Skip to content

The availability of remapping Esc-R (reverse-i-search) to Ctrl-R #499

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

Closed
karolyi opened this issue Mar 6, 2015 · 6 comments
Closed

The availability of remapping Esc-R (reverse-i-search) to Ctrl-R #499

karolyi opened this issue Mar 6, 2015 · 6 comments
Labels

Comments

@karolyi
Copy link

karolyi commented Mar 6, 2015

Hey guys,

I'm looking for the option to specify reverse-i-search to work with ctrl-r instead of esc-r, as my yosemite terminal sucks locally, and esc-r does not work. Also, I'm a libreadline junkie, and I'd like that reverse-i-search option to appear on ctrl-r.

Could you please provide a keyboard config option for this?

@thomasballinger
Copy link
Member

Looks like it's not configurable yet:

         elif e in ("<Esc+r>",):
             self.incremental_search(reverse=True)
         elif e in ("<Esc+s>",):
             self.incremental_search()

This should be fixed. I think it's not there because I was putting it off to see if we could agree to fix it for everyone - ie make the new defaults match readline - but I think that's unlikely at this point.

@thomasballinger
Copy link
Member

https://github.com/bpython/bpython/compare/tmp may fix things

@karolyi
Copy link
Author

karolyi commented Apr 14, 2015

is this in production yet?

@karolyi
Copy link
Author

karolyi commented Apr 14, 2015

I see it in master, but not in the 0.14 branch, which gets deployed with pip.

@thomasballinger
Copy link
Member

@karolyi Yep, this won't be released as a bugfix, so we'll have to wait for the next release or use master.

@karolyi
Copy link
Author

karolyi commented Apr 17, 2015

@thomasballinger thx. when do you anticipate it?

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

No branches or pull requests

2 participants