-
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
Multiline-buffer edit without search query #2
Comments
I agree with vguerci that the difference between using a search query and not using a search query is quite odd. Let us fix this. |
I can confirm this. It's quite annoying. |
Thanks a lot, sunaku and Sorin! |
thanks guys, also completely off/topic just noticed I was credited in the readme, again, thanks :) |
Just be aware that it behaves like Emacs mode, and if you have set vi mode, the arrow key bindings will be overridden. The difference between We could check for vi mode and use the vi widgets for those that prefer the vi behaviour. It should be configurable. Personally, I do not like |
We could make it configurable, although Fish always puts the cursor at the end of the line, like we do now. At some places in our code we call CURSOR=${#BUFFER} to achieve this. |
|
Yes, it would place the cursor at the first non white-space character. This might be a nice thing to have for vi mode addicts. I use vim quite often, but I do not use vi-mode under zsh. So I am not familiar with any other things that vi mode should do. |
To reproduce :
<UP>
* x)<LEFT>
* x)<UP>
Fails, we moved into next history entry instead of editing command.
This behavior only occurs when not using a search query. With a search query it behaves as expected.
The text was updated successfully, but these errors were encountered: