[nvim] add a file in runtimepath for loading the plugins list

This commit is contained in:
Dmytro Meleshko 2020-12-03 19:29:51 +02:00
parent eb3f7b8726
commit 0a134aab30
2 changed files with 68 additions and 70 deletions

View file

@ -0,0 +1,66 @@
" Files {{{
Plug 'tpope/vim-eunuch'
if g:vim_ide
Plug 'francoiscabrol/ranger.vim'
endif
" }}}
" Editing {{{
if g:vim_ide
" Plug 'easymotion/vim-easymotion'
Plug 'junegunn/vim-easy-align'
endif
Plug 'Raimondi/delimitMate'
Plug 'tpope/vim-repeat'
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-surround'
Plug 'Yggdroot/indentLine'
Plug 'idbrii/detectindent'
Plug 'henrik/vim-indexed-search'
Plug 'andymass/vim-matchup'
Plug 'inkarkat/vim-ingo-library' " required by LineJuggler
Plug 'inkarkat/vim-LineJuggler', { 'branch': 'stable' }
Plug 'reedes/vim-pencil'
Plug 'tommcdo/vim-exchange'
Plug 'justinmk/vim-sneak'
" }}}
" Text objects {{{
Plug 'kana/vim-textobj-user'
Plug 'kana/vim-textobj-entire'
Plug 'kana/vim-textobj-line'
Plug 'kana/vim-textobj-indent'
" }}}
" UI {{{
Plug 'moll/vim-bbye'
Plug 'gerw/vim-HiLinkTrace'
Plug 'vim-airline/vim-airline'
Plug 'tpope/vim-obsession'
Plug 'romainl/vim-qf'
if g:vim_ide
Plug 'dyng/ctrlsf.vim'
endif
" }}}
" Git {{{
if g:vim_ide
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-rhubarb'
Plug 'airblade/vim-gitgutter'
endif
" }}}
" FZF {{{
Plug 'junegunn/fzf', { 'do': './install --bin' }
Plug 'junegunn/fzf.vim'
" }}}
" Programming {{{
Plug 'sheerun/vim-polyglot'
Plug 'chikamichi/mediawiki.vim'
if g:vim_ide
Plug 'neoclide/coc.nvim', { 'branch': 'release' }
Plug 'dag/vim2hs'
endif
" }}}

View file

@ -15,77 +15,9 @@ if !filereadable(s:vim_plug_script)
autocmd VimEnter * PlugInstall --sync autocmd VimEnter * PlugInstall --sync
endif endif
call plug#begin(s:vim_config_dir . '/plugged') call plug#begin(s:vim_plug_home)
Plug 'junegunn/vim-plug' Plug 'junegunn/vim-plug'
runtime! dotfiles/plugins-list.vim
" Files {{{
Plug 'tpope/vim-eunuch'
if g:vim_ide
Plug 'francoiscabrol/ranger.vim'
endif
" }}}
" Editing {{{
if g:vim_ide
" Plug 'easymotion/vim-easymotion'
Plug 'junegunn/vim-easy-align'
endif
Plug 'Raimondi/delimitMate'
Plug 'tpope/vim-repeat'
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-surround'
Plug 'Yggdroot/indentLine'
Plug 'idbrii/detectindent'
Plug 'henrik/vim-indexed-search'
Plug 'andymass/vim-matchup'
Plug 'inkarkat/vim-ingo-library' " required by LineJuggler
Plug 'inkarkat/vim-LineJuggler', { 'branch': 'stable' }
Plug 'reedes/vim-pencil'
Plug 'tommcdo/vim-exchange'
Plug 'justinmk/vim-sneak'
" }}}
" Text objects {{{
Plug 'kana/vim-textobj-user'
Plug 'kana/vim-textobj-entire'
Plug 'kana/vim-textobj-line'
Plug 'kana/vim-textobj-indent'
" }}}
" UI {{{
Plug 'moll/vim-bbye'
Plug 'gerw/vim-HiLinkTrace'
Plug 'vim-airline/vim-airline'
Plug 'tpope/vim-obsession'
Plug 'romainl/vim-qf'
if g:vim_ide
Plug 'dyng/ctrlsf.vim'
endif
" }}}
" Git {{{
if g:vim_ide
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-rhubarb'
Plug 'airblade/vim-gitgutter'
endif
" }}}
" FZF {{{
Plug 'junegunn/fzf', { 'do': './install --bin' }
Plug 'junegunn/fzf.vim'
" }}}
" Programming {{{
Plug 'sheerun/vim-polyglot'
Plug 'chikamichi/mediawiki.vim'
if g:vim_ide
Plug 'neoclide/coc.nvim', { 'branch': 'release' }
Plug 'dag/vim2hs'
endif
" }}}
call plug#end() call plug#end()
" Automatically install/clean plugins (because I'm a programmer) {{{ " Automatically install/clean plugins (because I'm a programmer) {{{