3 ms·
I always forget to set my defaults globally to the file type, so my python files are littered with the following vim comment towards the bottom: # vim: ai et t
by WorldMaker 11y ago
I always forget to set my defaults globally to the file type, so my python files are littered with the following vim comment towards the bottom:
# vim: ai et ts=4 sts=4 sw=4
Explanation: forces auto-indent (ai), expand tabs to spaces (et), and tab stops (soft and hard) to 4 spaces.