A repository of scripts to extend the Kate editor.
Linux: copy the script files to ~/.local/share/katepart5/script/commands/ and then restart Kate.
Windows: copy the script files to %USERPROFILE%\AppData\Local\katepart5\script\commands\ and then restart Kate.
More info here
Adds commands to cut&append to clipboard, copy&append to clipboard, and swap the selection with the clipboard.
If there is no selection, the current line is used instead.
The commands are added to the Tools | Scripts | Editing menu. Keyboard shortcuts are listed next to the items in that menu.