2020-08-06 19:20:51 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
call plug#begin('~/.vim/plugged')
|
|
|
|
Plug 'tpope/vim-repeat'
|
|
|
|
|
|
|
|
Plug 'junegunn/goyo.vim', {'on': 'Goyo'}
|
2020-08-25 17:45:43 +00:00
|
|
|
"Plug 'osyo-manga/vim-over', {'on': 'OverCommandLine'} " Substitute preview
|
2020-08-06 19:20:51 +00:00
|
|
|
|
|
|
|
Plug 'liuchengxu/vim-which-key'
|
|
|
|
|
|
|
|
if has('nvim') || has('patch-8.0.902')
|
|
|
|
Plug 'mhinz/vim-signify'
|
|
|
|
else
|
|
|
|
Plug 'mhinz/vim-signify', { 'branch': 'legacy' }
|
|
|
|
endif
|
|
|
|
|
|
|
|
Plug 'tpope/vim-fugitive'
|
|
|
|
|
|
|
|
Plug 'preservim/nerdcommenter'
|
|
|
|
|
|
|
|
Plug 'vim-airline/vim-airline-themes'
|
|
|
|
Plug 'vim-airline/vim-airline'
|
|
|
|
|
2020-08-25 17:45:43 +00:00
|
|
|
"Plug 'morhetz/gruvbox'
|
|
|
|
Plug 'gruvbox-community/gruvbox'
|
2020-08-06 19:20:51 +00:00
|
|
|
|
|
|
|
Plug 'godlygeek/tabular' " :Tab /regex can align code on occurrences of the given regex. I.e. :Tab /= aligns all = signs in a block.
|
|
|
|
Plug 'tpope/vim-surround'
|
|
|
|
|
|
|
|
Plug 'easymotion/vim-easymotion' " press <leader>f [somekey] to have quick-movement to any occurrence of the key
|
|
|
|
Plug 'christoomey/vim-tmux-navigator' " good integration with tmux pane switching
|
|
|
|
Plug 'nathanaelkane/vim-indent-guides' " Can be toggled using <leader>ig (intent-guides)
|
|
|
|
|
|
|
|
" <C-n> to select current word. <C-n> to select next occurrence.
|
|
|
|
" with multiple lines selected in Visual mode, <C-n> to insert cursor in each line. I not i to insert in Visual-mode.
|
2020-08-25 17:45:43 +00:00
|
|
|
"Plug 'terryma/vim-multiple-cursors'
|
|
|
|
Plug 'mg979/vim-visual-multi'
|
2020-08-06 19:20:51 +00:00
|
|
|
Plug 'hauleth/sad.vim' " Use siw instead of ciw. when using . afterwards, will find the next occurrence of the changed word and change it too
|
|
|
|
Plug 'wellle/targets.vim' " more text objects. IE: cin) (change in next parens). generally better handling of surrounding objects.
|
2020-08-25 17:45:43 +00:00
|
|
|
"Plug 'haya14busa/incsearch.vim' " Show search result-highlights whilst typing the query
|
2020-08-06 19:20:51 +00:00
|
|
|
|
|
|
|
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } " Fuzzy file opener, use: :FZF or :FZF! for fullscreen
|
|
|
|
Plug 'junegunn/fzf.vim'
|
|
|
|
|
|
|
|
Plug 'unblevable/quick-scope' " highlight targets when pressing f<character>
|
|
|
|
Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() } } " :MarkdownPreview for live markdown preview
|
|
|
|
|
|
|
|
Plug 'jiangmiao/auto-pairs'
|
|
|
|
|
|
|
|
Plug 'machakann/vim-highlightedyank'
|
|
|
|
|
|
|
|
Plug 'ciaranm/detectindent'
|
|
|
|
Plug 'pechorin/any-jump.vim'
|
|
|
|
Plug 'justinmk/vim-sneak'
|
|
|
|
Plug 'psliwka/vim-smoothie'
|
2020-11-07 13:06:08 +00:00
|
|
|
|
|
|
|
Plug 'editorconfig/editorconfig-vim'
|
|
|
|
|
|
|
|
|
|
|
|
Plug 'honza/vim-snippets'
|
|
|
|
|
|
|
|
Plug 'liuchengxu/vista.vim'
|
|
|
|
|
2020-11-20 17:17:11 +00:00
|
|
|
Plug 'antoinemadec/coc-fzf'
|
|
|
|
|
|
|
|
Plug 'tommcdo/vim-exchange'
|
|
|
|
|
|
|
|
Plug 'puremourning/vimspector'
|
2020-11-07 13:06:08 +00:00
|
|
|
|
2020-11-20 17:17:11 +00:00
|
|
|
Plug 'svermeulen/vim-yoink'
|
2020-08-06 19:20:51 +00:00
|
|
|
|
2020-11-21 15:04:14 +00:00
|
|
|
Plug 'Shougo/echodoc.vim'
|
|
|
|
Plug 'kien/rainbow_parentheses.vim'
|
2020-11-07 13:06:08 +00:00
|
|
|
|
2020-11-21 15:04:14 +00:00
|
|
|
" Language Plugins ----------------------------------------------------- {{{
|
2020-08-06 19:20:51 +00:00
|
|
|
|
2020-11-21 15:04:14 +00:00
|
|
|
Plug 'LnL7/vim-nix'
|
2020-08-25 17:45:43 +00:00
|
|
|
|
2020-11-21 15:04:14 +00:00
|
|
|
Plug 'kevinoid/vim-jsonc'
|
2020-08-06 19:20:51 +00:00
|
|
|
|
|
|
|
Plug 'ap/vim-css-color'
|
|
|
|
Plug 'pangloss/vim-javascript' " syntax highlighting JS
|
|
|
|
Plug 'ianks/vim-tsx'
|
|
|
|
Plug 'leafgarland/typescript-vim'
|
|
|
|
Plug 'sheerun/vim-polyglot' " Syntax highlighting for most languages
|
|
|
|
Plug 'mattn/emmet-vim'
|
|
|
|
|
|
|
|
Plug 'udalov/kotlin-vim'
|
|
|
|
|
|
|
|
Plug 'purescript-contrib/purescript-vim'
|
|
|
|
|
|
|
|
Plug 'HerringtonDarkholme/yats.vim' " typescript syntax highlighting
|
|
|
|
Plug 'mxw/vim-jsx'
|
|
|
|
|
|
|
|
"" Haskell
|
|
|
|
Plug 'neovimhaskell/haskell-vim'
|
|
|
|
Plug 'Twinside/vim-hoogle', {'on': 'Hoogle'}
|
|
|
|
|
|
|
|
" Rust
|
|
|
|
Plug 'rust-lang/rust.vim'
|
|
|
|
Plug 'mattn/webapi-vim'
|
|
|
|
|
|
|
|
|
|
|
|
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
2020-11-07 13:06:08 +00:00
|
|
|
|
2020-08-06 19:20:51 +00:00
|
|
|
" }}}
|
|
|
|
call plug#end()
|
2020-11-07 13:06:08 +00:00
|
|
|
|