the only reason to use spaces over tabs is if your tab key broke and you can't map it to a double-tap space (yeah, I did that once). /thread
How do you do that?
inoremap <Space><Space> <Tab> inoremap <Tab> <Space><Space>
The request was: when I press two spaces, I want a tab character to be inputted. I agree that if you want `n` spaces when the tab key is pressed, you should use `expandtab` and `shiftwidth`.Of course now my question is why in the seven hells would you want that mapping??