I am using
vim 8.0.1763 on CentOS 8.1. Here is my
" Cool vim plugins : http://vimawesome.com/plugin/fugitive-vim set number filetype plugin on " https://stackoverflow.com/questions/19754849/vim-syntax-highlighting-does-not-work syntax on " Stop annoying line wrapping when pasting set paste " Stop annoying line wrapping set formatoptions-=tc set ruler set showmatch set expandtab set tabstop=4 set softtabstop=0
If I open a
*.py file, and type
:set softtabstop it returns 4. If I open another
*.txt file, the same command returns 0. Clearly this is a python file specific behavior. The only place I can find this being set is in
My intuition says that
.vimrc should be loaded last.
- How do I get my settings in my
.vimrcfile to persist when opening
- What is the order of operation when loading vim configuration files?
augroup python autocmd! autocmd FileType python setlocal noet ts=4 augroup end
~/.vimrc does not solve the Question 1 that I pose above. Also the previously previously asked question does not address my Question 2.
My question is unique in its own right. The accepted answer of my question is unique and not given in the previously asked question. My question should not be closed.