Add minimum vim version check + Fixed "isopen" method