Giter VIP home page Giter VIP logo

vimconf's Introduction

My vim Config

This is just a git repo of my vimrc and some plugins. I've moved to vundle to handle all of my plugins, which is added as a submodule in this repo.

Installation

To clone be sure to use recursive to pull in vundle:

git clone --recursive [email protected]:andrewrchambers/vimconf.git .vim

Then link to vimrc

ln -s .vim/vimrc .vimrc

Then run vim, and in vim type

:BundleInstall

This will pull in all of the bundles.

Powerline

There is one final step, since I use the powerline plugin for vim, we need to set up fonts (I use the powerline-fonts repo also).

I use Terminus, this is patched for powerline in the Terminus directory in the powerline-fonts repo. We just need to run a few commands to set everything up.

mkdir -p ~/.fonts
cp -r .vim/bundle/powerline-fonts/Terminus ~/.fonts
fc-cache -vf ~/.fonts

Note that if like me you use Ubuntu, you'll have to enable bitmap fonts with fontconfig, so

sudo rm /etc/fonts/conf.d/70-no-bitmaps.conf

YouCompleteMe

I am also using the YCM plugin for code completion, and coupled with syntactic offers really useful syntax checking.

After pulling in all of the bundles, we have to compile it using

cd ~/.vim/bundle/YouCompleteMe
./install.sh --clang-completer

This will automatically download clang and do some magic to enable syntax checking while you code.

Note that it has a dependancy on python libs, so install the python-dev package

sudo apt-get update && sudo apt-get install python-dev

Other plugins

There are a few plugins in here which I have found around on the internet, many from Damian Conway, from the talk given in this video. You can see his .vim here

vimconf's People

Contributors

andrewrch avatar

Watchers

James Cloos avatar  avatar

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.