Search code examples
vimpluginsjanus

How to uninstall Janus?


I can't figure out how to uninstall Janus. I'd really like to just go back to plain VIM and MacVim. I could try to just remove the ~/.janus directory, but since Janus took a while to install I imagine there are other things and places where it installed stuff. Does anyone know a complete way to install Janus?


Solution

  • Janus is just a collection of vim settings and plugins which are stored in the ~/.vim directory. Janus has a bootstrap installer that basically renames anything in that directory to whatever.old and then clones itself into that directory. So the counter effect would be to delete anything that doesn't end in .old and then take the .old off of everything. You could accomplish this with these commands.

    cd ~/.vim
    find . -not -name \*.old -delete
    find . -name \*.old | while read file; do mv "$file" "${file%%.old}"; done