Most part of vim part implemented, some bugs remained.