Intelligent vim replacer