|
@@ -7,63 +7,68 @@ endif
|
|
|
|
|
|
"load plugings at runtime
|
|
|
call plug#begin()
|
|
|
- " List of Plugins"
|
|
|
- " note that { 'on': []} is syntax for lazy loading
|
|
|
-
|
|
|
+ " Syntax support for multiple language
|
|
|
Plug 'sheerun/vim-polyglot'
|
|
|
|
|
|
+ " Tracks lines that have been added/removed/changed
|
|
|
+ Plug 'airblade/vim-gitgutter'
|
|
|
+
|
|
|
+ " fuzzyfinds files and buffers
|
|
|
+ Plug 'ctrlpvim/ctrlp.vim'
|
|
|
+
|
|
|
+ " Svelete syntax highlighting
|
|
|
+ Plug 'evanleck/vim-svelte', {'branch': 'main'}
|
|
|
|
|
|
+ " NERDtree (sorry netrw. ghost buffer trees RIP)
|
|
|
+ Plug 'preservim/nerdtree'
|
|
|
+
|
|
|
+ " helpers for editing html/xml
|
|
|
+ Plug 'vim-scripts/xmledit'
|
|
|
|
|
|
" For JSX highlighting
|
|
|
- Plug 'maxmellon/vim-jsx-pretty'
|
|
|
+ "Plug 'maxmellon/vim-jsx-pretty'
|
|
|
|
|
|
Plug 'tpope/vim-surround'
|
|
|
|
|
|
" repeat mainly for vim-surround
|
|
|
- Plug 'tpope/vim-repeat'
|
|
|
+ "Plug 'tpope/vim-repeat'
|
|
|
|
|
|
+ " note that { 'on': []} is syntax for lazy loading
|
|
|
" Plug 'tpope/vim-rails', { 'on': [] }
|
|
|
+
|
|
|
" Plug 'tpope/vim-rails', { 'for': ['rails', 'ruby']}
|
|
|
- Plug 'tpope/vim-rails'
|
|
|
+ "Plug 'tpope/vim-rails'
|
|
|
|
|
|
- Plug 'vim-ruby/vim-ruby'
|
|
|
+ "Plug 'vim-ruby/vim-ruby'
|
|
|
|
|
|
" rhubarb provides support for fugitive's Gbrowse for github
|
|
|
- Plug 'tpope/vim-rhubarb'
|
|
|
+ "Plug 'tpope/vim-rhubarb'
|
|
|
|
|
|
" fugitive is a git wrapper
|
|
|
- Plug 'tpope/vim-fugitive'
|
|
|
+ "Plug 'tpope/vim-fugitive'
|
|
|
|
|
|
- " obsolete? need to simlink to /.vim/plugged/xmledit/ftplugin, ln -s xml.vim html.vim
|
|
|
- Plug 'vim-scripts/xmledit'
|
|
|
-
|
|
|
- " gitgutter tracks lines that have been added/removed/changed
|
|
|
- Plug 'airblade/vim-gitgutter'
|
|
|
|
|
|
" autoclose completes brackets, quotes, etc
|
|
|
Plug 'vim-scripts/AutoClose'
|
|
|
"
|
|
|
" Goyo and limelight are for minimalist writing views
|
|
|
- Plug 'junegunn/goyo.vim'
|
|
|
- Plug 'junegunn/limelight.vim'
|
|
|
+ "Plug 'junegunn/goyo.vim'
|
|
|
+ "Plug 'junegunn/limelight.vim'
|
|
|
|
|
|
" Provide some functionality for markdown editing
|
|
|
- Plug 'plasticboy/vim-markdown'
|
|
|
+ "Plug 'plasticboy/vim-markdown'
|
|
|
|
|
|
" tcomment toggles comments (gcc)
|
|
|
- Plug 'tomtom/tcomment_vim'
|
|
|
+ "Plug 'tomtom/tcomment_vim'
|
|
|
|
|
|
"vim-latex-live-preview allows realtime preview of latex files
|
|
|
- Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' }
|
|
|
+ "Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' }
|
|
|
|
|
|
" vimtex for compiling latex in vim
|
|
|
- Plug 'lervag/vimtex'
|
|
|
-
|
|
|
- " ctrl-p fuzzyfinds files and buffers
|
|
|
- Plug 'ctrlpvim/ctrlp.vim'
|
|
|
+ "Plug 'lervag/vimtex'
|
|
|
|
|
|
" ultisnips inserts snippets, i.e., predefined chunks
|
|
|
- Plug 'SirVer/ultisnips'
|
|
|
+ "Plug 'SirVer/ultisnips'
|
|
|
|
|
|
" TableMode for easily generating tables
|
|
|
" Plug 'dhruvasagar/vim-table-mode'
|
|
@@ -72,38 +77,35 @@ call plug#begin()
|
|
|
" Plug 'tomlion/vim-solidity'
|
|
|
|
|
|
" generate markdown table of contents
|
|
|
- Plug 'mzlogin/vim-markdown-toc'
|
|
|
+ "Plug 'mzlogin/vim-markdown-toc'
|
|
|
|
|
|
"----- Colors / themes -----"
|
|
|
" gruvbox colortheme
|
|
|
- Plug 'morhetz/gruvbox'
|
|
|
+ "Plug 'morhetz/gruvbox'
|
|
|
|
|
|
" dracula colortheme
|
|
|
- Plug 'koreymacdougall/dracula'
|
|
|
+ "Plug 'koreymacdougall/dracula'
|
|
|
|
|
|
" molokai colortheme
|
|
|
- Plug 'koreymacdougall/molokai'
|
|
|
+ "Plug 'koreymacdougall/molokai'
|
|
|
|
|
|
" solarized colortheme
|
|
|
- Plug 'altercation/vim-colors-solarized'
|
|
|
+ "Plug 'altercation/vim-colors-solarized'
|
|
|
|
|
|
" Calendar mode
|
|
|
" Plug 'mattn/calendar-vim'
|
|
|
|
|
|
" speed up folding
|
|
|
- Plug 'Konfekt/FastFold'
|
|
|
-
|
|
|
- " NERDtree (sorry netrw. ghost buffer trees RIP)
|
|
|
- Plug 'preservim/nerdtree'
|
|
|
+ "Plug 'Konfekt/FastFold'
|
|
|
|
|
|
" NERDtree plugin to show git status flags - 2020-05-06
|
|
|
- Plug 'Xuyuanp/nerdtree-git-plugin'
|
|
|
+ "Plug 'Xuyuanp/nerdtree-git-plugin'
|
|
|
|
|
|
" vim-indent-guides to show indentation levels - 2020-06-04
|
|
|
" Plug 'nathanaelkane/vim-indent-guides'
|
|
|
"
|
|
|
"Indentline for showing bars where code is indented
|
|
|
- Plug 'Yggdroot/indentLine'
|
|
|
+ "Plug 'Yggdroot/indentLine'
|
|
|
|
|
|
" autocompletion
|
|
|
" Plug 'ycm-core/YouCompleteMe'
|
|
@@ -119,7 +121,7 @@ call plug#begin()
|
|
|
" post install (yarn install | npm install)
|
|
|
" Plug 'prettier/vim-prettier', { 'do': 'npm install' }
|
|
|
" Ale - Asynchronous Linting Engine
|
|
|
- Plug 'w0rp/ale', { 'do': 'npm install' }
|
|
|
+ "Plug 'w0rp/ale', { 'do': 'npm install' }
|
|
|
|
|
|
call plug#end()
|
|
|
|