How about plugin option to enclose mapped actions inside
old = getcurpos()
...
setpos('.', old+(append ? len(newleftblock) : delete ? -len(oldleftblock) : replace ? len(new)-len(old) : 0))
I understand, this feature will be greatly broken for some more-then-one letter blocks and even for some usecases of one-letter (like multiline append). But nevertheless it would be nice to keep position in much more often usecases for ({["'<.
How about plugin option to enclose mapped actions inside
I understand, this feature will be greatly broken for some more-then-one letter blocks and even for some usecases of one-letter (like multiline append). But nevertheless it would be nice to keep position in much more often usecases for
({["'<.