mirror of
https://github.com/luzifer/vim.git
synced 2024-11-09 16:10:00 +00:00
Exchange vundle and neocomplete
This commit is contained in:
parent
ed4da1ed45
commit
9183de7bc5
7 changed files with 39 additions and 34 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
||||||
.netrwhist
|
.netrwhist
|
||||||
bundle/*
|
bundle/*
|
||||||
view
|
view
|
||||||
|
plugged
|
||||||
|
|
6
.gitmodules
vendored
6
.gitmodules
vendored
|
@ -1,3 +1,3 @@
|
||||||
[submodule "bundle/Vundle.vim"]
|
[submodule "vim-plug"]
|
||||||
path = bundle/Vundle.vim
|
path = vim-plug
|
||||||
url = https://github.com/VundleVim/Vundle.vim.git
|
url = https://github.com/junegunn/vim-plug.git
|
||||||
|
|
1
autoload/plug.vim
Symbolic link
1
autoload/plug.vim
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../vim-plug/plug.vim
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 4984767509e3d05ca051e253c8a8b37de784be45
|
|
1
vim-plug
Submodule
1
vim-plug
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 96375cb7d30b7caf2a9417799ff509b59b43a627
|
63
vimrc
63
vimrc
|
@ -1,35 +1,40 @@
|
||||||
set nocompatible " be iMproved, required
|
set nocompatible " be iMproved, required
|
||||||
filetype off " required
|
filetype off " required
|
||||||
|
|
||||||
set rtp+=~/.vim/bundle/Vundle.vim/
|
call plug#begin('~/.vim/plugged')
|
||||||
call vundle#rc()
|
|
||||||
|
|
||||||
" vundle - It states it is required?!?
|
|
||||||
Plugin 'VundleVim/Vundle.vim'
|
|
||||||
|
|
||||||
" Other plugins
|
" Other plugins
|
||||||
Plugin 'nathanaelkane/vim-indent-guides'
|
Plug 'nathanaelkane/vim-indent-guides'
|
||||||
Plugin 'airblade/vim-gitgutter'
|
Plug 'airblade/vim-gitgutter'
|
||||||
Plugin 'tpope/vim-fugitive'
|
Plug 'tpope/vim-fugitive'
|
||||||
Plugin 'scrooloose/nerdtree'
|
Plug 'scrooloose/nerdtree'
|
||||||
Plugin 'Shougo/neocomplete.vim'
|
Plug 'godlygeek/tabular'
|
||||||
Plugin 'godlygeek/tabular'
|
Plug 'Chiel92/vim-autoformat'
|
||||||
Plugin 'Chiel92/vim-autoformat'
|
Plug 'vim-airline/vim-airline'
|
||||||
Plugin 'vim-airline/vim-airline'
|
Plug 'reedes/vim-pencil'
|
||||||
Plugin 'reedes/vim-pencil'
|
|
||||||
|
if has('nvim')
|
||||||
|
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||||
|
else
|
||||||
|
Plug 'Shougo/deoplete.nvim'
|
||||||
|
Plug 'roxma/nvim-yarp'
|
||||||
|
Plug 'roxma/vim-hug-neovim-rpc'
|
||||||
|
endif
|
||||||
|
|
||||||
" Languages
|
" Languages
|
||||||
Plugin 'jakar/vim-json'
|
Plug 'jakar/vim-json'
|
||||||
Plugin 'kchmck/vim-coffee-script'
|
Plug 'kchmck/vim-coffee-script'
|
||||||
Plugin 'groenewege/vim-less'
|
Plug 'groenewege/vim-less'
|
||||||
Plugin 'mutewinter/nginx.vim'
|
Plug 'mutewinter/nginx.vim'
|
||||||
Plugin 'fatih/vim-go'
|
Plug 'fatih/vim-go'
|
||||||
Plugin 'honza/dockerfile.vim'
|
Plug 'honza/dockerfile.vim'
|
||||||
Plugin 'nsf/gocode', {'rtp': 'vim/'}
|
Plug 'nsf/gocode', {'rtp': 'vim/'}
|
||||||
Plugin 'Matt-Deacalion/vim-systemd-syntax'
|
Plug 'Matt-Deacalion/vim-systemd-syntax'
|
||||||
Plugin 'cespare/vim-toml'
|
Plug 'cespare/vim-toml'
|
||||||
Plugin 'fatih/vim-hclfmt'
|
Plug 'fatih/vim-hclfmt'
|
||||||
Plugin 'b4b4r07/vim-hcl'
|
Plug 'b4b4r07/vim-hcl'
|
||||||
|
|
||||||
|
call plug#end()
|
||||||
|
|
||||||
" important settings
|
" important settings
|
||||||
"
|
"
|
||||||
|
@ -980,12 +985,10 @@ map <C-n> :NERDTreeToggle<CR>
|
||||||
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
|
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
|
||||||
|
|
||||||
"
|
"
|
||||||
" NeoComplete configuration
|
" deoplete configuration
|
||||||
"
|
"
|
||||||
|
"
|
||||||
let g:acp_enableAtStartup = 0 " Disable AutoComplPop.
|
let g:deoplete#enable_at_startup = 1
|
||||||
let g:neocomplete#enable_at_startup = 1 " Use neocomplete.
|
|
||||||
let g:neocomplete#enable_smart_case = 1 " Use smartcase.
|
|
||||||
|
|
||||||
" Enable omni completion.
|
" Enable omni completion.
|
||||||
autocmd FileType css setlocal omnifunc=csscomplete#CompleteCSS
|
autocmd FileType css setlocal omnifunc=csscomplete#CompleteCSS
|
||||||
|
|
Loading…
Reference in a new issue