Fuck semicolons
Split the cursor sorting out
Fix the blank line insertion

If a line was not indented this would bug out and delete the line
instead
OCD you know me
Use a transaction on paste

This makes it a wonderful single action in the undo stack