r/IPython • u/MaleficentScholar • Sep 04 '20
How to delete 4 spaces at once?
Sometimes IPython autoindents with extra 4 spaces which I don't want. For deleting the extra indent, I have to press backspace 4 times. Is there any better way to do that?
P.S. I'm using IPython on Linux in a terminal emulator. IPython version: 7.18.1
0
Upvotes
View all comments
Show parent comment
1
u/LewisgMorris Sep 11 '20
Dont ask me why, but I re-read your question today...
I just want to say that I've realised that you are using ipython in the terminal... Not with jupyter in a browser.
Both tilda and konsole terminals I have installed delete the whole indent and 4 spaces with Alt+backspace.
Hopefully that's the answer you were looking for.