In Vim, how to change the vimrc so that I could keep files' \t characters while I don't want \t characters appear in the newline generated by auto-indentation and tab-button I pressed.
Is this achievable?
Here is what I have appended to the tail of _vimrc:
set nu set noexpandtab " I want to read \t, not to translate them as spaces. set tabstop=8 " I want to read \t as 8-space-width. set softtabstop=4 " This makes the <BS> and <Tab> always 4-space-long. set autoindent set colorcolumn=100 set shiftwidth=4
Why I have this question: In Python, you can't mix both \t and spaces while indenting.