fabioyamate / vimfiles

my (thin) custom vim files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vim Files

My Vim files made from scratch, focusing in plugins that I use. I prefer to type fast, than having to record many plugins shortcuts.

This configuration is used in VIM terminal, since I stopped to use GUI versions.

Installing

$ git submodule init
$ git submodule update

Plugins

Adding a new plugin

$ git submodule add <remote_repo> bundle/<plugin_name>
$ git add bundle/<plugin_name>
$ git commit -m "Add <plugin_name> plugin"

Note that when adding a new submodule you have to add without trailing slash.

Updating all plugins

$ git submodule foreach git pull
$ git add bundle/plugin1 bundle/plugin2 ... bundle/pluginN

Or just run

sh upgrade.sh

Note that when adding a new submodule you have to add without trailing slash.

Removing

  1. Run git rm --cached path_to_submodule (no trailing slash).
  2. Delete the relevant section from the .gitmodules file.
  3. Delete the relevant section from .git/config.
  4. Commit
  5. Delete the untracked submodule files
  6. rm -rf path_to_submodule

Extracted from: http://stackoverflow.com/questions/1260748/how-do-i-remove-a-git-submodule

Maintaining

Selecta

Check out https://github.com/garybernhardt/selecta

About

my (thin) custom vim files


Languages

Language:Vim Script 99.7%Language:Shell 0.3%