I am trying to install utilsnips .
When I type:
cd ~/.vim/ git submodule add https://github.com/SirVer/ultisnips bundle/ultisnips
I get this message:
You need to run this command from the toplevel of the working tree.
Why? How can i avoid this?
Your .vim directory may not be git . To make it a git directory simply:
.vim
git
git init
Then you can run:
git submodule add https://github.com/SirVer/ultisnips bundle/ultisnips
Perhaps you are using a command from a subdirectory. Make sure you are in the directory at the same level as the .git directory.