Browse Source

add plugins

refactor/nvim-lua
garritfra 6 years ago
parent
commit
65cef6fdba
  1. 19
      .vimrc
  2. 2
      install.sh

19
.vimrc

@ -1,3 +1,19 @@
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'scrooloose/syntastic'
Plugin 'junegunn/fzf'
Plugin 'itchyny/lightline.vim'
Plugin 'scrooloose/nerdtree'
call vundle#end() " required
filetype plugin indent on " required
syntax on
set number
set smartindent
@ -5,6 +21,9 @@ set tabstop=4
set shiftwidth=4
set expandtab
set laststatus=2
set noshowmode
inoremap {<cr> {<cr>}<c-o><s-o>
inoremap [<cr> [<cr>]<c-o><s-o>
inoremap (<cr> (<cr>)<c-o><s-o>

2
install.sh

@ -1,4 +1,6 @@
#!/bin/bash
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
cp ./.vimrc $HOME/.vimrc
echo "installation complete"

Loading…
Cancel
Save