At some point my cursor changed from a vertical bar to an underbar. I must have pressed some magic combination of keys. Any idea how to change it back?
On mac OS, to toggle between vertical and horizontal cursor in SublimeText 3:
command + option + o
In Windows PC You can simply press insert or fn+0 (0 on numpad) or fn + delete or insert.