Search code examples
vimpathogen

Where do I save pathogen.vim so that the plugin installs


I've just downloaded the file pathogen.vim from vim.org

Where do I save this file so that it becomes part of gVim? In one of the runtimepath locations?

Does this .vim need to go in either of these locations?:
- C:\Program Files (x86)\Vim73\
- C:\Program Files (x86)\Vim\vimfiles\


Solution

    1. You don't need pathogen to install plugins.

    2. For the nth time this week, put your plugins into the C:\Users\username\vimfiles directory and your settings into the C:\Users\username\_vimrc file. You must create those directories/files yourself.

    3. What you should have:

      C:\Users\username\_vimrc
      C:\Users\username\vimfiles\
      C:\Users\username\vimfiles\autoload\
      C:\Users\username\vimfiles\autoload\pathogen.vim
      C:\Users\username\vimfiles\bundle\
      
    4. Many Vim plugins have UNIX-oriented instructions and Vim itself is mostly UNIX-oriented so you'd better learn a thing or two about the UNIX command line.