add codic for vim