Giter VIP home page Giter VIP logo

vimconfig's Introduction

ViMConfig

My personal ViM Configuration files

Getting the distribution

The easiestland probably only-way to get this distribution is by using git. Since the Vundle is a submodule of this repository, it is recommended that you clone recursively

git clone --recursive https://github.com/jlconlin/ViMConfig.git ~/.vim

Configure the configuration

Included with these configuration files are

  • vimrc
  • gvimrc

To use these files—without copying them—create a file ~/.vimrc with this as the contents

if filereadable(expand("\~/.vim/vimrc"))
  source \~/.vim/vimrc
endif
"
if has("gui\_running") && filereadable(expand("\~/.vim/gvimrc"))
	source ~/.vim/gvimrc
endif

if filereadable(expand("\~/.vim/vimrc.local"))
  source \~/.vim/vimrc.local
endif

Then create a link from $HOME/.vimrc to $HOME/.gvimrc. Doing this will make ViM see these configuration files and you will be happy. Cloning my distribution, will not automatically get the plugins. However, the Vundle plugin can do that anyway. Simply do this:

Directories

My configuration uses a few custom directories to store temporary and backup files.

  • ~/.vimbackup
  • ~/.vimswap
  • ~/.vimundo

If these files are not present, then there will be some minor errors when opening up a file as it won't know what directory to look in for backup, swap, and undos.

Plugins

Plugins are managed by Vundle. If you cloned recursively then this should be available automatically.

Installing Plugins

Once the repository has been cloned and configured the plugins can be installed simply by executing:

vim +PluginInstall +qall

as described by the installation procedures for Vundle.

Building Plugins

There are some plugins that need to be built after they are installed. Here are the instructions for building each of them. Note: These instructions are for the Mac as that is the machine I use. These instructions may work for other platforms.

YouCompleteMe

cd ~/.vim/bundle/YouCompleteMe
install.py --all

CoVim

CoVim requires Python 2.5+ as well as some additional packages. The instructions here use pip to install the packages, but I generally use Conda.

pip install twisted argparse service_identity

Note that argparse is part of the standard library for Python 3.2+ and 2.7+.

ViM Plugins used in this distribution

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.