diff --git a/README.md b/README.md index 7386ca2..6ece5f2 100644 --- a/README.md +++ b/README.md @@ -7,3 +7,11 @@ My personnal Vim configuration. Just clone this repository, `cd` to the clone and run `make install`. Note: if a configuration already exists, it will be backed up. + +## Installed plugins + +The following plugins are installed with [Vundle](https://github.com/VundleVim/Vundle.vim): + +| Plugin | Description | +| ------ | ----------- | +| [vim-jsonpath](https://github.com/mogelbrod/vim-jsonpath) | Adds capabilities to explore a JSON file with JsonPath | diff --git a/scripts/install b/scripts/install index 9b4cc7c..287cfb8 100644 --- a/scripts/install +++ b/scripts/install @@ -17,3 +17,11 @@ cp -r vim $HOME/.vim cp vimrc $HOME/.vimrc cp gvimrc $HOME/.gvimrc +echo "Installing Vundle" +git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim + +echo "Installing the plugins" +vim +PluginInstall +qall + +echo +echo "You're all set!" diff --git a/vimrc b/vimrc index d00c0b0..1d0a49d 100644 --- a/vimrc +++ b/vimrc @@ -1,3 +1,6 @@ +set nocompatible +filetype off + filetype plugin indent on set nu @@ -8,3 +11,13 @@ set si set expandtab set shiftwidth=4 set softtabstop=4 + +" Vundle +set rtp+=~/.vim/bundle/Vundle.vim +call vundle#begin() + +Plugin 'VundleVim/Vundle.vim' +Plugin 'git://github.com/mogelbrod/vim-jsonpath' + +call vundle#end() +