Tab and spaces in vi vim - RayGutt/PersonalWiki GitHub Wiki
Options to type 4 spaces instead of the tab ^I
characters, which is not interpreted by python3 as indentation:
:set tabstop=4
:set shiftwidth=4
:set expandtab
:set autoindent
Or:
:set expandtab ts=4 sw=4 ai
You can replace all the tabs with spaces in the entire file with
:%retab
To see special characters:
:set list