I want to understand this and the step that I'm struggling with is that apparently
$$ \frac{1}{2\pi} \int_{-\infty}^\infty \exp \left (i k x \right) \text{d}k = \delta\left(x\right) $$
with $\delta$ delta distribution. I haven't done much with the delta distribution, so I don't understand how to arrive at the identity above. WolframAlpha tells me that the Cauchy principal value is 0. Which I guess makes sense, right...? Thanks for your help in advance.