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?
In Windows PC You can simply press insert or fn+0 (0 on numpad) or fn + delete or insert.