I am long time-vim user and recently discovered that emacs has viper-mode, offering best of both worlds (at least for me). However one thing is really bothering me since I am mostly coding in python and mixing of tabs and spaces is a big deal.
When in insert mode I would like to insert viper-shift-width spaces instead of TAB when I press TAB. How can I do this? I suppose some simple lisp function/setting is the solution.
I didn't find anything in viper-mode settings that could do this.
Edit:
I have (setq-default indent-tabs-mode nil)
in my .emacs but this doesn't work when I am in insert mode (in vim meaing of insert mode) in viper-mode