-
Notifications
You must be signed in to change notification settings - Fork 8
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
Autoorient code on left border before pasting #12
Comments
Hello @mightyCelu, That sounds nice, although I wouldn't integrate it in the default behavior, I like it more as an option. I'll see if I can come up with something during the weekend, pretty much still learning vim scripting =) |
Hi @chilicuil, That's great! I also think it's better to make it opt-in. Otherwise it might the expected behavior for some users. |
Hello @mightyCelu I've just added a barbarian implementation of the suggested feature, it's disabled by default, to test it add:
To your vimrc file, please let me know if you find any issue. |
When pasting indented code, it would be great to orient it on the left border, such that the indentation that's not justified by just the codeblock being posted is removed.
Example:
When selecting and pasting lines 2-4, it should be pasted as:
The text was updated successfully, but these errors were encountered: