I am using the jedi-vim extension and really don't like pressing ctrl-space to bring up auto-complete. I would like to use tab, but also obviously when coding I need tab for indentation as well.
I know that I will pretty much never press tab with the purpose of indenting when the character before my cursor is not a whitespace character. How can I map tab to ctrl space in this setting?
I only want it to apply in the case of a python file, and only in the current buffer (so if I change buffers the mapping disappears)
smartindentand the like. For cases when it's not working, use