-
Notifications
You must be signed in to change notification settings - Fork 758
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
add support for putting & editing macros #240
Conversation
Hello , I'm stuck with the In classic vim, the For example, But now, what the idea vim does is treating them as separate chars by converting them to printable characters directly. It introduced an ambiguity problem. Think about what happens if you have a yanked macro in a register:
Then, does it mean that:
or like this:
or something else? So what should we do ?
Thanks! |
Hey, yep, there is an annoying problem in IJ that it doesn't render non-printable chars. So, we just can't print |
Hello, This PR is all ready. Behaviors effected:
Thanks! |
Yay, thank you for the contribution. We have a kind of pre-release freeze, so I'll check the PR right after the release! |
Hey, I've just reviewed the changes and I'm going to merge the changes. But I just wanted to check what is the reason for changing the behaviour of |
Hello, usually we use reg command to view all the registers and select one which should be edited, it’s strange if what we saw in registers panel is totally different from the putted line. besides, the edited macro is saved as raw text (by yanking) instead of KeyStrokes, so it would look messy if we mixd the two modes ( Thanks! |
Okay, I've ended up with merging the PR (of course), but I'll revert the behaviour of However, I agree with your point and I'll think about how to make it better. If you'll have any thoughts / PRs on this topic, you're welcome. |
Add support for putting and editing a macros
https://youtrack.jetbrains.com/issue/VIM-2059
Currently we can't edit a recorded marco just like what we can do in classic vim.
What this PR does:
p
or:put
Effects :
I'm a idea & vim fanatic, ideavim saved my days! Thank you guys!