use vim-plug instead of vundle for plugin management

This commit is contained in:
Haak Saxberg 2015-12-03 13:13:32 -08:00 committed by Haak Saxberg
parent 972383492b
commit d2a81fbd6b
6 changed files with 2118 additions and 45 deletions

2
.gitignore vendored
View file

@ -1,5 +1,7 @@
*.sw* *.sw*
vim-files/vim/bundle vim-files/vim/bundle
vim-files/vim/plugged/
vim-files/vim/undofiles/ vim-files/vim/undofiles/
.youcompletemesetup .youcompletemesetup
vim-files/vim/.init.vim-rplugin~ vim-files/vim/.init.vim-rplugin~
vim-files/vim/.netrwhist

3
.gitmodules vendored
View file

@ -81,9 +81,6 @@
[submodule "vim-files/.vim/bundle/YouCompleteMe"] [submodule "vim-files/.vim/bundle/YouCompleteMe"]
path = vim-files/.vim/bundle/YouCompleteMe path = vim-files/.vim/bundle/YouCompleteMe
url = https://github.com/Valloric/YouCompleteMe.git url = https://github.com/Valloric/YouCompleteMe.git
[submodule "vim-files/vim/bundle/vundle"]
path = vim-files/vim/bundle/vundle
url = https://github.com/gmarik/Vundle.vim.git
[submodule "zsh-files/antigen"] [submodule "zsh-files/antigen"]
path = zsh-files/antigen path = zsh-files/antigen
url = https://github.com/zsh-users/antigen.git url = https://github.com/zsh-users/antigen.git

File diff suppressed because it is too large Load diff

@ -1 +0,0 @@
Subproject commit 5f70ae6025e951f0154e3940d123138adffa4c88

View file

@ -1,5 +1,8 @@
" Neomake " Neomake
let g:neomake_ruby_enabled_makers = ['rubocop'] let g:neomake_ruby_enabled_makers = ['rubocop']
let g:neomake_ruby_rubocop_maker = {
\ 'args': ['--except', 'Style/TrailingComma,Style/Documentation,Metrics/ClassLength,Metrics/ModuleLength,Metrics/MethodLength,Style/SignalException'],
\}
" vim-rspec mappings " vim-rspec mappings
nnoremap <Leader>t :call RunCurrentSpecFile()<CR> nnoremap <Leader>t :call RunCurrentSpecFile()<CR>

View file

@ -1,53 +1,50 @@
set nocompatible " required set nocompatible " required
filetype off " required filetype off " required
"""" VUNDLE """" VIM-PLUG
" set the runtime path to include Vundle and initialize call plug#begin('~/.vim/plugged')
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" alternatively, pass a path where Vundle should install bundles
"let path = '~/some/path/here'
"call vundle#rc(path)
" let Vundle manage Vundle, required Plug 'tpope/vim-sensible'
Plugin 'gmarik/vundle'
Plugin 'tpope/vim-sensible' Plug 'nanotech/jellybeans.vim'
Plugin 'nanotech/jellybeans.vim' Plug 'bling/vim-airline'
Plug 'bling/vim-bufferline'
Plug 'myusuf3/numbers.vim'
Plug 'mhinz/vim-signify'
Plug 'nathanaelkane/vim-indent-guides'
Plugin 'bling/vim-airline' Plug 'danro/rename.vim'
Plugin 'bling/vim-bufferline' Plug 'pbrisbin/vim-mkdir'
Plugin 'myusuf3/numbers.vim' Plug 'Lokaltog/vim-easymotion'
Plugin 'mhinz/vim-signify' Plug 'tpope/vim-characterize'
Plugin 'nathanaelkane/vim-indent-guides' Plug 'tpope/vim-surround'
Plug 'tpope/vim-commentary'
Plug 'terryma/vim-multiple-cursors'
Plugin 'danro/rename.vim' Plug 'tpope/vim-eunuch'
Plugin 'pbrisbin/vim-mkdir'
Plugin 'Lokaltog/vim-easymotion'
Plugin 'tpope/vim-characterize'
Plugin 'tpope/vim-surround'
Plugin 'terryma/vim-multiple-cursors'
Plugin 'tpope/vim-eunuch' Plug 'majutsushi/tagbar'
Plug 'SirVer/ultisnips'
Plugin 'majutsushi/tagbar' Plug 'tpope/vim-fugitive'
Plugin 'SirVer/ultisnips' Plug 'gregsexton/gitv'
Plug 'scrooloose/nerdtree'
Plug 'tpope/vim-vinegar'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'simnalamburt/vim-mundo'
Plug 'vim-ruby/vim-ruby'
Plug 'tpope/vim-rails'
Plugin 'tpope/vim-fugitive' Plug 'tpope/vim-endwise'
Plugin 'scrooloose/nerdtree'
Plugin 'kien/ctrlp.vim'
Plugin 'simnalamburt/vim-mundo'
Plugin 'tpope/vim-rails'
Plugin 'tpope/vim-endwise' Plug 'benekastah/neomake'
Plug 'Valloric/YouCompleteMe'
"Plugin 'scrooloose/syntastic' Plug 'kchmck/vim-coffee-script'
Plugin 'benekastah/neomake' Plug 'mtscout6/vim-cjsx'
Plugin 'Valloric/YouCompleteMe'
Plugin 'kchmck/vim-coffee-script' call plug#end()
Plugin 'mtscout6/vim-cjsx'
filetype plugin indent on " required filetype plugin indent on " required
""" end vundle """ end vundle
@ -90,9 +87,14 @@ let g:indent_guides_start_level = 2
let g:syntastic_quiet_messages = {'level': []} " do NOT silence warnings let g:syntastic_quiet_messages = {'level': []} " do NOT silence warnings
let g:syntastic_aggregate_errors = 1 let g:syntastic_aggregate_errors = 1
"Neomake " Neomake
autocmd! BufWritePost * Neomake autocmd! BufWritePost * Neomake
" NERDTree
let NERDTreeHijackNetrw = 1
map \q :q<CR>
map \w :w<CR>
noremap Q <nop>
"""" END PLUGIN SETTINGS """" END PLUGIN SETTINGS
let mapleader="," let mapleader=","
@ -191,10 +193,6 @@ map <silent> <leader>V :source ~/.vimrc<CR>:filetype detect<CR>:exe ":echo 'vimr
"terminal remaps "terminal remaps
tnoremap <Esc> <C-\><C-n> tnoremap <Esc> <C-\><C-n>
"nnoremap <leader>d :NERDTreeToggle<cr>
map \q :q<CR>
map \w :w<CR>
noremap Q <nop>
" Quicker window movement " Quicker window movement
nnoremap <C-j> <C-w>j nnoremap <C-j> <C-w>j
nnoremap <C-k> <C-w>k nnoremap <C-k> <C-w>k