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

Option-Arrow on a command prompt prevents text from being edited/deleted #737

Open
CoryFoy opened this issue Dec 14, 2023 · 0 comments
Open

Comments

@CoryFoy
Copy link

CoryFoy commented Dec 14, 2023

Hello!

I'm running the latest version and I'm not sure what is going on. I tend to have a pattern where I'll up-arrow through my history to find a command, and then need to modify it slightly. So let's say I have the following command:

cp ~/mydirectory/home ~/mydirectory/home_backup

And I've forgotten the -r. So my workflow is I'll hit up-arrow to bring the command up again, and then I use option-left-arrow to move by word to just before the cp command. But when I type it doesn't always insert characters, and I find that also once I type I can't seem to delete before where I started typing. So using the above example, if I option-left-arrow to the first tilde, and then try to type, I can't ever delete (or even get to!) anything earlier in the line than that.

I'm sure this is a behavior I don't understand, but is there any way to turn that off? Or to help me understand what it's doing? (It doesn't seem to be a Vim mode, but maybe it's an Emacs mode and I don't use that?)

Thanks!

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

1 participant