remove vim state set delegate method, add pwd method