Skip to content

Repository files navigation

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 NameVersionSourceDocumentation
pathogen2.4vim-pathogenvim-pathogen documentation
git5143beavim-gitvim-git documentation
fugitive3.7vim-fugitivevim-fugitive documentation
commentary1.3vim-commentaryvim-commentary documentation
repeat1.2vim-repeatvim-repeat documentation
sensible1.2vim-sensiblevim-sensible documentation
syntastic3.10.0vim-syntasticvim-syntastic documentation
surround2.1vim-surroundvim-surround documentation
Secure Modelines9751f29securemodelinessecuremodelines documentation
javascript libraries0.5javascript-librariesjavascript-libraries documentation
javascript syntax0.8.2javascript-syntaxjavascript-syntax documentation
jsonf5e3181vim-jsonvim-json documentation
node (nodejs)0.8.1+vim-nodevim-node documentation
tmuxb19923fvim-tmuxvim-tmux documentation
markdown3c2215bvim-markdownvim-markdown documentation

Maintainer

This collection is maintained on Github by:

About

Vi Improved customization files.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages