adapted to vim