Enables by default the feature to adjust the indentation of pasted text to match the surroundings. The option is at Configure Kate > Editing > Indentation > Adjust indentation of code pasted from the clipboard.
Enabling this makes moving code around much easier and less frustrating.