Any way to emulate CLion/Intellij IDEA backspace metod in Qt Creator code editor?

  c++, linux, qt

I am currently using CLion for learning c++ and C programming, and one of the features that i really love it’s the backspace metod that CLion uses. When you press the Del button it returns at the last character of the previous line (if there are only identation characters). My answer is this: is there a way to have it also in Qt Creator on Linux? I have tried recording a text edit macro, saving it and assigning it to the Del button of my keyboard but, when i launch it, Qt Creator crashes.
I have heard about scripts but i don’t know where to start. I have searched on google but didn’t find nothing…

Source: Windows Questions C++