/vimcfg

[obsolete] old config for vim 7.4, plugin was managed by neobundle.

Primary LanguageVim Script

vimcfg

This repository is my personal Vim configurations, include configuration and plugins. The plugins are managed by neobundle.

Usage

  1. Install git on your OS
  1. Clone vimcfg repos
git clone https://github.com/jsfaint/vimcfg.git
  1. Create symbolic links
  • Linux/OS X

    ln -s vimcfg/_vimrc ~/.vimrc
    ln -s vimcfg/vimfiles ~/.vim
    
  • Windows Install vim into the vimcfg diretory and the treeview should like below:

    vimcfg
    +-- .git
    +-- vim74 (vim install directory)
    +-- vimfiles
    +-- .gitignore
    +-- .gitmodules
    +-- _vimrc
    +-- README.md
    
  1. Install other plugins

Open Vim then NeoBundle will install other plugins automatically

  1. Update plugins

The plugins can be updated by :NeoBundleUpdate command.

  1. Post install

Some plugins require external command.

  • fencview require vim has iconv feature and an external lib iconv.dll for windows.
  • neocomplete require vim has if_lua feature.
  • vim-clang require Clang for C-family completion.
  • syntastic need to install external checker for different filetype.
  • vimproc need to build C code to dll on windows, which will auto build for Linux and OS X.
  • vim-go need to install binary tool via :GoInstallBinaries
  • gen_tags.vim require ctags and GNU global
  • tern_for_vim require install tern (node.js based)

How to update neobundle.vim

neobundle.vim is managed by git subtree.
So if you need to update it. please use the following command.

git subtree pull --prefix vimfiles/bundle/neobundle.vim https://github.com/Shougo/neobundle.vim.git master --squash

Be sure don't forget the paramenter --squash, otherwise all the history of subtree will be add to your history.

Other

For more details about neobundle
Please refer here or :help neobundle

And also you can fork this repository, if you want to custom your own configuration.

Thanks for reading :)