migrate to vim-plug

This commit is contained in:
Cyryl Płotnicki 2018-05-27 22:56:27 +01:00
parent d61217d32e
commit 86aa2df6ae
10 changed files with 31 additions and 50 deletions

3
.gitmodules vendored
View file

@ -1,9 +1,6 @@
[submodule "tools/icdiff.git"]
path = tools/icdiff.git
url = https://github.com/jeffkaufman/icdiff.git
[submodule ".vim/bundle/Vundle.vim"]
path = .vim/bundle/Vundle.vim
url = https://github.com/VundleVim/Vundle.vim.git
[submodule ".zprezto"]
path = .zprezto
url = https://github.com/sorin-ionescu/prezto.git

3
.vim/.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
autoload/
plugged/

@ -1 +0,0 @@
Subproject commit fcc204205e3305c4f86f07e09cd756c7d06f0f00

View file

@ -1,5 +1,4 @@
call vundle#end()
filetype plugin indent on
call plug#end()
" line ending
set fileformats=unix,dos

View file

@ -1,21 +1,20 @@
Plugin 'VundleVim/Vundle.vim'
Plugin 'https://github.com/cyplo/vim-colors-solarized.git'
Plugin 'mileszs/ack.vim'
Plugin 'scrooloose/nerdtree.git'
Plugin 'scrooloose/syntastic.git'
Plugin 'wting/rust.vim'
Plugin 'sjl/splice.vim.git'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'timonv/vim-cargo'
Plugin 'kien/ctrlp.vim'
Plugin 'junegunn/fzf.vim'
Plugin 'will133/vim-dirdiff'
Plugin 'tpope/vim-dispatch.git'
Plugin 'tpope/vim-fugitive.git'
Plugin 'tpope/vim-sensible'
Plugin 'tpope/vim-cucumber'
Plugin 'airblade/vim-gitgutter.git'
Plugin 'godlygeek/tabular'
Plugin 'plasticboy/vim-markdown'
Plugin 'mhinz/vim-startify'
Plug 'https://github.com/cyplo/vim-colors-solarized.git'
Plug 'mileszs/ack.vim'
Plug 'scrooloose/nerdtree.git'
Plug 'scrooloose/syntastic.git'
Plug 'wting/rust.vim'
Plug 'sjl/splice.vim.git'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'timonv/vim-cargo'
Plug 'kien/ctrlp.vim'
Plug 'junegunn/fzf.vim'
Plug 'will133/vim-dirdiff'
Plug 'tpope/vim-dispatch.git'
Plug 'tpope/vim-fugitive.git'
Plug 'tpope/vim-sensible'
Plug 'tpope/vim-cucumber'
Plug 'airblade/vim-gitgutter.git'
Plug 'godlygeek/tabular'
Plug 'plasticboy/vim-markdown'
Plug 'mhinz/vim-startify'

View file

@ -46,10 +46,11 @@ set shiftwidth=4
set expandtab
" plugins
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
filetype off
call plug#begin('~/.vim/plugged')
set rtp+=~/.vim/bundle/Vundle.vim
set rtp+=~/.fzf
call vundle#begin()

View file

@ -1,6 +0,0 @@
source ~/dev/dotfiles/.vimrc.common.prelude
source ~/dev/dotfiles/.vimrc.common.plugins
source ~/dev/dotfiles/.vimrc.cygwin.plugins
source ~/dev/dotfiles/.vimrc.common.epilogue
source ~/dev/dotfiles/.vimrc.cygwin.settings

View file

@ -1 +0,0 @@
Plugin 'Shougo/neocomplete.vim'

View file

@ -1,10 +0,0 @@
" plugins: neocomplete
let g:neocomplete#enable_at_startup = 1
let g:neocomplete#enable_smart_case = 1
"" <CR>: close popup and save indent.
inoremap <silent> <CR> <C-r>=<SID>my_cr_function()<CR>
function! s:my_cr_function()
return (pumvisible() ? "\<C-y>" : "" ) . "\<CR>"
endfunction
"" <TAB>: completion.
inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>"

View file

@ -1 +1 @@
Plugin 'Valloric/YouCompleteMe'
Plug 'Valloric/YouCompleteMe'