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

CTRL-P which is history substring search in the REPL is mapped to history recall when OhMyREPL is loaded. #169

Closed
ppalmes opened this issue Apr 17, 2019 · 1 comment · Fixed by #194

Comments

@ppalmes
Copy link

ppalmes commented Apr 17, 2019

Is it possible to maintain the same CTRL-P which is the default behavior in Julia REPL? Also, It is quiet inconvenient to reach for arrow-keys in recalling history. Arrow keys in Macbook keyboard is difficult to reach so it will be nice if we can reassign their functionalities to the vim keybindings like CTRL-H/J/K/L.

@ppalmes ppalmes changed the title CTRL-P which is history substring search in the REPL is now just mapped to history recall. CTRL-P which is history substring search in the REPL is mapped to history recall when OhMyREPL is loaded. Apr 17, 2019
@albheim
Copy link

albheim commented Feb 2, 2020

Agreed, I do like the package but I have stopped using it because I like the default julia behavior.

I looked at the code and I'm a bit curious. In julia LineEdit.jl it seems they define ctrl-p and up-arrow exactly the same, is there a reason that ctrl-p is redefined but not up-arrow? Cause up-arrow still seems to work like I would expect it in normal julia, and how I would also expect ctrl-p to work.

For now I just removed the redefinitions of ctrl-p and ctrl-n in my local ohmyrepl and it seems to work fine.

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

Successfully merging a pull request may close this issue.

2 participants