3 ms·
My coworker does some funky blend of spaces and tabs. His tab key inserts 4 spaces, but if he tabs twice (8 characters), it becomes the tab character. He says i
by caw 15y ago
My coworker does some funky blend of spaces and tabs. His tab key inserts 4 spaces, but if he tabs twice (8 characters), it becomes the tab character. He says it works better when printing.
I can't for the life of me figure out how to replicate the effect in vim to be able to read his files logically, and he can't tell me because he's an emacs user.
- obtu 15y agoSomething like: set ts=8 sw=4 et sta (tabstops to 8 (the default), shift width to 4, expand tabs, smart tabs)