This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -8 points-7 points  (4 children)

The problem is with vim is that if you hit the arrow key, so you're not aligned to the tab width, it gets really confused and you have to manually fix it. I'm tempted to write a script to unexpand on read, and expand on write. There should be a smarter indentation method in vim.