I want to work on someone else's project, and he uses 4 spaces for indentation. I use 2, and my screen is not big enough to edit using 4 spaces comfortably.

Can I configure Vim to display 2 spaces for indentation, but write 4 to the file?

Edit
Report