Fix some "standard" bugs in vim