The Fourier transform of the unit step function $u(t)$ has proven to be a delicate case; a direct calculation as you intended to do turns out to be a nightmare of regularization and abuse of notation. One way to circumvent those issues relies on the fact that the derivative of the Heaviside function is precisely the Dirac delta function, i.e. $\dot{u}(t) = \delta(t)$. In consequence, the properties of the Fourier transform leads to $i\omega\,\hat{u}(\omega) = 1$. However, one needs to handle this equation carefully, because one looks for solutions in a distribution space.
The naive solution is given by $\hat{u}(\omega) = \frac{1}{i\omega}$. This expression is well defined for $\omega \neq 0$ and corresponds to the usual inverse function, while it behaves as a Dirac delta at $\omega = 0$. Indeed, $\frac{1}{2\pi i\omega}$ is a representation of the Dirac delta on the complex plane due to Cauchy's integral formula $-$ which will be used when computing the inverse Fourier transform for instance. Consequently, one has $\hat{u}(\omega) = \frac{1}{i\omega} = PV\frac{1}{i\omega} + \pi\delta(\omega)$; note that it lacks a factor $2$, because the singularity $\omega = 0$ lies on the real line. You can see this as a decomposition of $\hat{u}(\omega)$ between its regular part (because the Cauchy principal value is equivalent to ignore the singularity) and its singular part at $\omega = 0$.
It is to be noted too that the distributional equation $\omega\,\hat{u}(\omega) = -i$ can be solved in a algebraic style. In a standard setup, it corresponds to a linear equation with the unique (particular) solution $\frac{1}{i\omega}$ (which has to be understood as a principal value), because the multiplication operator $F(\omega) \mapsto \omega F(\omega)$ has a trivial kernel (and thus is invertible). In a distributional space however, its kernel is not trivial anymore; indeed, its is spanned by the Dirac delta because of the well-known relation $\omega\delta(\omega) \equiv 0$. As a consequence, one has to add the general solution of the associated homogeneous equation $\omega \,\hat{u}(\omega) = 0$ to the aforementioned particular solution, hence finally $\hat{u}(\omega) = PV\frac{1}{i\omega} + c\delta(\omega)$, with $c$ a constant. This constant will have to be determined by matching the inverse Fourier transform with the initial unit step function $u(t)$.
Finally, since the Fourier transform $\hat{f}(\omega)$ can be seen as the limit of the Laplace transform $F(s)$, more precisely $\hat{f}(\omega) = \displaystyle \lim_{\sigma\rightarrow0} F(\sigma + i\omega)$, we can also recover the Fourier transform of the unit step function by applying the Sokhotski–Plemelj theorem to its Laplace transform $U(s) = 1/s$.