Vi Improved customization files.
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:
- Apache configuration and logs
- PHP code
- Drupal
- JavaScript, including jQuery and nodejs
- Varnish configurations
- Puppet
- Vagrant
- Markdown documents
- ssh client configuration
- tmux with vim configuration
- git, including merge conflict resolution
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.
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
- 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 |
This collection is maintained on Github by: