Strange behavior with vim