(I know, if vim was second nature to me, this point would probably be moot... but I'm still using the arrow keys a lot :) )
(I know, if vim was second nature to me, this point would probably be moot... but I'm still using the arrow keys a lot :) )
set tabstop=4
set shiftwidth=4
set softtabstop=4
set expandtabWhy have one of the most common semantic units in source code (indentation) represented by four characters when there is an otherwise unused character that has already great editor support. Tabs work well in every editor I've used (except notepad.exe, which can't change their display width). Spaces only work well in smart editors.
Editors aren't the only place code appears. I see it in my terminal, in git, in various web-based tools, in email, in browser textareas, etc. I don't want to reconfigure all of these things to make your code look like you see it (if they're even possible to reconfigure), also potentially breaking other applications that take for granted that a tab character aligns to 8.
Thanks for clarifying!