database interface for vim