Joe
Joe

Reputation: 4514

Vim plugin failing to load.

I have a vim configuration on github with a single plugin as a submodule.

I set it up in a new user area like so:

  561  git clone --recurse-submodules https://github.com/joereddington/dotvimdirectory/
  562  mv dotvimdirectory/ .vim
  563  ls .vim
  564  $ ln -s ~/.vim/vimrc ~/.vimrc
  565  ln -s ~/.vim/vimrc ~/.vimrc
  568  vim todo.txt 

But the submodule, which is checked out, doesn't give me any mappings:

(results of :map in vim) enter image description here

Despite the fact that the syntax highlighting is working fine:

enter image description here

Why aren't the plugin mappings loading?

Upvotes: 0

Views: 243

Answers (1)

sidyll
sidyll

Reputation: 59327

You didn't turn on filetype plugins in your .vimrc:

filetype plugin on

This is used by your plugin. Check :h ftplugin and :h add-filetype-plugin.

Upvotes: 3

Related Questions