All Projects → AD7six → Vim Independence

AD7six / Vim Independence

A vim plugin for loading (git) project specific vim settings

Labels

Projects that are alternatives of or similar to Vim Independence

Vim Quickfixdo
Run a command on each entry of your quickfix argument list
Stars: ✭ 7 (-22.22%)
Mutual labels:  viml
Ansible
My Ansible Playbooks and Dependencies
Stars: ✭ 8 (-11.11%)
Mutual labels:  viml
Vim Cmake Syntax
Unmaintained; see https://github.com/pboettch/vim-cmake-syntax
Stars: ✭ 9 (+0%)
Mutual labels:  viml
Vim Ackmore
My vim stuff.
Stars: ✭ 7 (-22.22%)
Mutual labels:  viml
Bindle
My portable dotfiles and such
Stars: ✭ 7 (-22.22%)
Mutual labels:  viml
Vim Painter
Painting plugin
Stars: ✭ 8 (-11.11%)
Mutual labels:  viml
Vim Ruby X
if_ruby helper
Stars: ✭ 7 (-22.22%)
Mutual labels:  viml
Vim Rspec Focus
Helpers for focused rspec testruns.
Stars: ✭ 9 (+0%)
Mutual labels:  viml
Vim Kaikyaku Buster
Stars: ✭ 8 (-11.11%)
Mutual labels:  viml
My.vim
Just a collection of all of the things I have in my .vim/ directory
Stars: ✭ 8 (-11.11%)
Mutual labels:  viml
Vim Reanimate
Stars: ✭ 7 (-22.22%)
Mutual labels:  viml
Dirdiff.vim
DirDiff.vim : A plugin to diff and merge two directories recursively.
Stars: ✭ 7 (-22.22%)
Mutual labels:  viml
Guessindent
Indentation guessing plugin for Vim
Stars: ✭ 8 (-11.11%)
Mutual labels:  viml
Perl Nextmethod
Vim plugin which offers [m, [M, ]m and ]M mappings for perl
Stars: ✭ 7 (-22.22%)
Mutual labels:  viml
Elysian.vim
elysian is a 256 terminal only colorscheme inspired by Apprentice
Stars: ✭ 9 (+0%)
Mutual labels:  viml
Conf
Stars: ✭ 7 (-22.22%)
Mutual labels:  viml
Vim Shortcut
run vim command from buffer
Stars: ✭ 8 (-11.11%)
Mutual labels:  viml
Vim
VIM config
Stars: ✭ 9 (+0%)
Mutual labels:  viml
Ctrlp Branches
Git branch searching using CtrlP.vim
Stars: ✭ 9 (+0%)
Mutual labels:  viml
Formatvim
Convert current file to colored HTML, BBCode or whatever
Stars: ✭ 8 (-11.11%)
Mutual labels:  viml

Vim Independence

This vim plugin allows you to load (git) project specific .vimrc files

Installation

I recommend using Vim Pathogen

Therefore:

cd .vim/bundle
git clone git://github.com/AD7six/vim-independence.git

Alternatively - simply put the file independence.vim in your plugin folder directly

Usage

The plugin is automatic; it will look for and load all .vimrc files found from the git project root to the buffer's folder. When not in a git project, no action is taken.

For example, let's consider that you use the Syntastic plugin, and most of your projects are php. The default standard for syntastic to check code against is the Zend standard - a reasonable default. If all of your projects follow the Zend standard, that's fine. If all of your projects follow a different standard - that's also fine, you can simply define g:syntastic_phpcs_conf in your ~/.vimrc file and the syntastic plugin will take that config.

If you need to follow more than one standard using vim independence that becomes easy:

in ~/somepearproject create ~/somepearproject/.vimrc with the following contents:

let g:syntastic_phpcs_conf = '--standard=Pear`

in ~/somesymfony2project create ~/somesymfony2project/.vimrc with the following contents:

let g:syntastic_phpcs_conf = '--standard=Symfony2`

Etc.

Gotchas

As you may deduce from the above example, if you modify a global variable in a project-specific .vimrc file - those settings will persist for all subsequent buffers you open.

Changelog

  • 0.1.0 Intial release

  • 0.2.0 Load all ".vimrc" files from the git project root down to the buffer's folder

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].