-
Notifications
You must be signed in to change notification settings - Fork 156
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
Does not work with k
in vi mode
#106
Comments
Try this:
|
@alichtman awesome! Thank you |
No problem! Safe to close this issue? |
Of course! |
@alichtman thanks so much for the suggestion. It worked great (for a while), but I've now found a slight flaw in it. If I'm editing multiple line commands in zsh, trying to navigate up/down lines in normal mode cycles through my history. The behavior that I'm looking for would be the same behavior I'd get with the arrow keys. Where if I try navigating past the top or bottom line in my command it would cycle through my history, but otherwise would navigate in line mode. |
You could try mapping J and K to history scrolling and leaving j and k mapped normally. |
lol but what if I want to merge lines? |
That’s a good point. I don’t know how to fix that behavior tbh, just throwing out some possible solutions. |
Thank you 🙂 |
The plugin works fine with arrow keys. However, in normal mode pressing
j
andk
just scrolls through history as if I didn't have the plugin.Some configuration information if it helps:
The text was updated successfully, but these errors were encountered: