Browse Source

Add Vundle and JsonPath

pull/1/head
Jérôme Deuchnord 5 years ago
parent
commit
acf98e086d
No known key found for this signature in database GPG Key ID: 1934652EA16ECB3B
3 changed files with 29 additions and 0 deletions
  1. +8
    -0
      README.md
  2. +8
    -0
      scripts/install
  3. +13
    -0
      vimrc

+ 8
- 0
README.md View File

@@ -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 |

+ 8
- 0
scripts/install View File

@@ -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!"

+ 13
- 0
vimrc View File

@@ -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()


Loading…
Cancel
Save