Just a little plugin from a complete newbie that enhances integrated “Add line before/after” macros. Vanilla adds lines but do not restores cursor where it was. This plugin does this. Keybinding via addnewline_advanced command, with before argument set to true or false:
"keys": "ctrl+shift+alt+enter"], "command": "addnewline_advanced", "args": {"before" : false}
it’s based on this code. I’ve searched for months for something like this, but have found nothing.