Cleanup `reopenAndGotoLine`

 - de-indent most of the function
 - remove ':' prefix with `exec` commands