Skip to content

Latest commit

 

History

History
124 lines (103 loc) · 6.25 KB

README.md

File metadata and controls

124 lines (103 loc) · 6.25 KB

Vimfiles

Vi Improved customization files.

Introduction

This vim customization collection was created primarily to support development for PHP and Drupal powered web-sites. It contains extensions and customizations to help with editing and viewing files associated with:

  1. Apache configuration and logs
  2. PHP code
  3. Drupal
  4. JavaScript, including jQuery and nodejs
  5. Varnish configurations
  6. Puppet
  7. Vagrant
  8. Markdown documents
  9. ssh client configuration
  10. tmux with vim configuration
  11. git, including merge conflict resolution

Requirements

To use these customizations for vim, you need to have vim installed.

I currently use, test and update this collection of vimfiles with vim v7.4, but they should work fine with any vim install >= v7.2.

Installation

To get up and running, install Vim to the usual location, then:

  • To install for the current user only:

    # Backup any existing Vim files folder.
    [[ -d ~/.vim ]] && mv ~/.vim ~/.vim.original
    # Clone this project locally.
    git clone --recursive https://github.com/christopher-hopper/vimfiles.git ~/.vim
    # Backup any existing Vim Runtime Configuration.
    [[ -f ~/.vimrc ]] && mv ~/.vimrc ~/.vimrc.orig~
    # Link to the new Vim Runtime Configuration.
    ln -s ~/.vim/vimrc.local ~/.vimrc
  • To install for all users:

    # Backup any existing Vim files folder.
    [[ -d /usr/share/vim/vimfiles ]] && \
      sudo mv /usr/share/vim/vimfiles /usr/share/vim/vimfiles.original
    # Clone this project locally.
    sudo git clone --recursive https://github.com/christopher-hopper/vimfiles.git \
      /usr/share/vim/vimfiles
    # Backup any existing Vim Runtime Configuration.
    [[ -f /etc/vim/vimrc ]] && sudo mv /etc/vim/vimrc /etc/vimrc.original
    # Link to the new Vim Runtime Configuration.
    sudo ln -s /usr/share/vim/vimfiles/vimrc.local /etc/vim/vimrc

FAQ

  1. Which plug-ins are currently included in vimfiles?

At the time of writing, the following plug-ins have been included and configured as part of vimfiles:

Plugin Name Version Source Documentation
pathogen 2.4 vim-pathogen vim-pathogen documentation
git 5143bea vim-git vim-git documentation
fugitive 3.7 vim-fugitive vim-fugitive documentation
commentary 1.3 vim-commentary vim-commentary documentation
repeat 1.2 vim-repeat vim-repeat documentation
sensible 1.2 vim-sensible vim-sensible documentation
syntastic 3.10.0 vim-syntastic vim-syntastic documentation
surround 2.1 vim-surround vim-surround documentation
Secure Modelines 9751f29 securemodelines securemodelines documentation
javascript libraries 0.5 javascript-libraries javascript-libraries documentation
javascript syntax 0.8.2 javascript-syntax javascript-syntax documentation
json f5e3181 vim-json vim-json documentation
node (nodejs) 0.8.1+ vim-node vim-node documentation
tmux b19923f vim-tmux vim-tmux documentation
markdown 3c2215b vim-markdown vim-markdown documentation

Maintainer

This collection is maintained on Github by: