I'm using Vim for Python development. Sometimes, after an expression in an if clause: (suppose |
is cursor).
if test:
pass
|
...I press enter, and want to go to the if
identation level.
I know I can go back to command mode and just press <
, but I would like to know if it's possble to, when Vim knows all characters behind the cursor are tabs os spaces, to go back one indent level when backspace is pressed (or shiftwidth value).