Git Product home page Git Product logo

vim-config's Introduction

Josh's Vim Config

My Vim config, which I think is better than yours.

Maybe it's not. Much of it has come from other developers' settings I've seen on the web, so maybe I've stolen something from you.

I work primarily with Ruby, Javascript, Markdown, HTML, and CSS, so my setup is somewhat specific to those languages (and libraries/frameworks written with them).

This repo changes pretty frequently as my tastes change or I install a plugin that scratches a new itch. I've tried to keep things commented as much as possible.

Oh, you will need Vim 7.3, either console or MacVim. A shell script is included at share/install-vim.sh to help install console Vim. For MacVim, try b4winkler/macvim or Homebrew.

Setup and Maintenance

I use pathogen.vim and git submodules to handle third party plugins. All plugins are kept in the default location for pathogen, vim/bundle/. A Makefile is included to update plugins and their helptags.

Installation

Before installing, backup ~/.vim, ~/.vimrc and ~/.gvimrc

cd ~
mkdir vim-backup
for i in .vim .vimrc .gvimrc; do mv $i vim-backup/$i.bak; done
rmdir ~/.vim

Clone this repo:

cd ~
git clone git://github.com/itspriddle/vim-config.git .vim --recursive
ln -s .vim/vimrc .vimrc
ln -s .vim/gvimrc .gvimrc

Updating Plugins and Helptags

Update all plugins installed as git submodules and runs :Helptags to make Vim aware of their help documents:

cd ~/.vim
make update-plugins
make update-help
make update # runs both update-plugins and update-help

Cleaning Backups and Views

~/.vim/.tmp/ may need to be cleaned up from time to time:

cd ~/.vim
make clean

Included Plugins

See vim/bundle/ for a list of installed plugins.

vim-config's People

Contributors

itspriddle avatar

Watchers

Fabio Kreusch avatar James Cloos 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.