0

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?

Joe
  • 4,367
  • 7
  • 33
  • 52

1 Answers1

3

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.

sidyll
  • 57,726
  • 14
  • 108
  • 151
  • Very frustrating that the syntax part of the plugin is a seperate part. Thank you. – Joe Sep 26 '18 at 06:54