-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Replace in visual selection #69
Comments
No. Emacs replacement commands use region for limiting replacement range. Replace commands of anzu behaves same as them. |
Thanks for information. I'll try to check. |
In evil-mode, cursor is moved to forward of region-end after calling |
Hmm, I cannot get original point before invoking command. How I get it ? |
It is retrieve from |
On line
when cursor is on the second |
In such case, region is from beginning of line to end of line so this behaviour is expected. |
On the other hand this cursor doesn't play well with multi line selection (selection should be reverted). So maybe it's not worth it. |
Yes. But I suppose few people expects such behaviour. |
As I'm just picking up maintenance on this package, I'm going to mark this with a "won't fix" based on syohex's last comment (few people would expect this behavior). However I'll also leave the ticket open for a while in case there are strong objections. Please leave a comment and let me know! |
Is it possible to use anzu in selected region?
For example I have this line
I press
V
to select the line and useanzu-replace-at-cursor-thing
but it showsThe text was updated successfully, but these errors were encountered: