fix compatibility mode for vim