I've looked through various answers which imply that setting the following in .vimrc would be appropriate to force tab insertions to become spaces.
filetype plugin indent on " On pressing tab, insert 2 spaces set expandtab " show existing tab with 2 spaces width set tabstop=2 set softtabstop=2 " when indenting with '>', use 2 spaces width set shiftwidth=2
However, when I attempt to use 2 spaces, it continues to default to 4 spaces per tab. I have tried moving
set expandtab to the bottom of these declarations. I have tried removing the
softtabstop declaration. I've scoured the various answers given to other questions as well. If anyone can help me out that would be amazing.