An easy to deploy set of pre-configured VIM
plugins and configurations targeted to make Web Developers and System Administrators more happy ;)
-
clone the repo into your home
.vim
directorygit clone https://github.com/jrab66/vim-config.git ~/.vim && cd ~/.vim ; git submodule update --init
-
insert the following to
.vimrc
:" Source all settings if filereadable(glob("~/.vim/vimrc.local")) source ~/.vim/vimrc.local endif " Invert paste when \p or <F3> is pressed :nnoremap <leader>p :set invpaste<CR> :nnoremap <F3> :set invpaste<CR>
-
if you use Tmux insert or create
.tmux.conf
in$HOME
dir :set -g default-terminal "xterm-256color"
The following plugins are installed and configured:
- Better Whitespace
- CSS colors
- Editorconfig add Editorconfig support
- GIT.vim (GIT integration)
- Indent Guides
- NERDTree (Directory tree explorer)
- Pathogen (Vim plugin manager)
- PHP CS Fixer (integrate PHP-CS-Fixer)
- PHP-Doc
- PHP manual
- Sparkup (write HTML code faster)
- Terraform (adds a
:Terraform
command that runs terraform, with tab completion of subcommands) - UltiSnips (the power of snippets in vim)
- Vim-Symfony
- Web Indent (Javascript and HTML indenter)