title: Vim Pathogen won't load - E117: Unknown function: pathogen#infect
body: <p>This should be a very straightforward problem.  I have a simple <code>.vimrc</code> file.  It is 15 lines in its entirety:</p>
  
  <pre><code>filetype off
  set nocompatible
  call pathogen#infect()
  syntax on
  filetype plugin indent on
  
  set hlsearch
  set colorcolumn=79
  set number
  set list
  set expandtab
  set tabstop=4
  set softtabstop=4
  
  colorscheme vividchalk
  </code></pre>
  
  <p>When I try to start vim, though, I get the following error message:</p>
  
  <pre><code>Error detected while processing /Users/Jon/.vimrc:
  line    3:
  E117: Unknown function: pathogen#infect
  line   15:
  E185: Cannot find color scheme 'vividchalk'
  </code></pre>
  
  <p>I have worked quite a while at solving this, including looking here: <a href="https://stackoverflow.com/questions/8723464/vim-pathogen-not-loading">Vim: Pathogen not loading</a> and here: <a href="https://stackoverflow.com/questions/3383502/pathogen-does-not-load-plugins">Pathogen does not load plugins</a> and here: <a href="https://github.com/tpope/vim-pathogen/issues/50" rel="nofollow noreferrer">https://github.com/tpope/vim-pathogen/issues/50</a></p>
  
  <p>I am storing all my vim-related files in a <code>~/.dotfiles/vim/</code> directory and have symlinked <code>.vimrc</code> and <code>.gvimrc</code> and <code>.vim/</code>from my home directory.  I have three plugins I am trying to load: command-t, commentary, and fugitive.  These plugins are all git submodules.  The directory structure is as follows:</p>
  
  <pre><code>.dotfiles/
   ├──vim/
      ├── autoload/
      │   └── pathogen.vim
      ├── bundle/
      │   ├── command-t/
      │   ├── commentary/
      │   └── fugitive/
      ├── colors/
      │   ├── distinguished.vim
      │   └── vividchalk.vim
      ├── ftdetect/
      │   ├── markdown.vim
      │   └── vim.vim
      ├── gvimrc
      ├── snippets/
      │   └── markdown.snippets
      ├── syntax/
      │   ├── markdown.vim
      │   └── python.vim
      ├── test.txt
      └── vimrc
  </code></pre>