Often, I want to edit multiple different parts of the same file simultaneously. This is usually done with a number of splits. Is there a way such that the undo history in each split is separate? E.g., when editing the file:
a = 2 b = 8
Could I have two splits, alter the first line to
a = 3 in the first split, then swap to the second split and set
b = 9, then later go back to the first split and press
u to undo the
a = 3 change while keeping the
b = 9 change?
Mentally, I associate each split's work with its own undo/redo buffer, and all of the cursor jumping is a bit of a pain. I understand why it's the way it is, but was hoping there was a mode I could toggle to get the more intuitive behavior. Thanks!