There are two features related to indenting that I find very helpful in Textmate, and I'm looking to find the closest thing in vim. First, I can tab to the correct level of indentation, especially in python. For example:
[After hitting tab once]
On the other hand (assuming all space-chars to the left of the cursor), using backspace in Textmate goes back a full tab-stop if it is "on" a tab or a space until it hits an even tab (for example, if tabwidth=4 and I am at column 6, pressing backspace would go to 5, then 4, then 0. Here is an example video of the two: https://gyazo.com/2f1d2731a9d243448350b942eac29524
What would be the closest way to emulate this behavior in vim? I feel like it would only be most relevant in insert mode.