Adds missing shortcut for deleting the line which behaves just like in the VS Code. So you can paste it afterwards.
-
Download - Go to releases and download
zip
folder of the newest version. - Or download git repo aszip
. -
Open the Blender
-
Open: Preferences > Addons/Extensions
-
Install an addon via button (top right corner).
-
Select the downloaded
.zip
file. -
Check the box next to the extension's name.
A small addon that adds the funcionality of deleting the current line in the text editor. And it is also cuting the content into the clipboard. This means you can then paste the deleted line wherever you want.
You do not need to select anything. Just press CTRL + SHIFT + BACKSPACE
while in the text editor on some line. The shortcut can be changed in the preferences.
The shortcut is then editable in the Blenders settings: "Edit > Preferences > Keymap > Text > Text global > Delete line". The way it works is mostly using Blenders built in functions:
-
Adding newline character to the current line.
-
Selecting the whole line.
-
Cutting the selected content.
-
Deleting the remaining newline character.
Video: Video showcase on youtube.