mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-10 07:32:55 +00:00
41 lines
1.8 KiB
VimL
41 lines
1.8 KiB
VimL
" Plugins
|
|
"--------
|
|
|
|
" Install vim-plugged if not installed
|
|
if empty(glob('$HOME/.config/nvim/autoload/plug.vim'))
|
|
silent !curl -fLo $HOME/.config/nvim/autoload/plug.vim --create-dirs
|
|
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
|
autocmd VimEnter * PlugInstall --sync | source $HOME/.config/nvim/init.vim
|
|
endif
|
|
|
|
" All plugins
|
|
call plug#begin('$HOME/.config/nvim/plugged')
|
|
|
|
" Core plugins
|
|
Plug 'morhetz/gruvbox' " Colorscheme
|
|
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } " Required for fuzzyfinder
|
|
Plug 'junegunn/fzf.vim' " Actual fuzzyfinder
|
|
Plug 'tpope/vim-surround' " Enables paren editing
|
|
Plug 'sheerun/vim-polyglot' " Syntax for every language
|
|
Plug 'airblade/vim-gitgutter' " Git next to line numbers
|
|
Plug 'tpope/vim-commentary' " Use gc or gcc to comment
|
|
Plug 'godlygeek/tabular' " Spacing and alignment
|
|
|
|
" Ancillary plugins
|
|
Plug 'unblevable/quick-scope' " Hints for f and t
|
|
Plug 'vimwiki/vimwiki' " Wiki Markdown System
|
|
Plug 'jreybert/vimagit' " Git 'gui' buffer
|
|
Plug 'airblade/vim-rooter' " Change directory to git route
|
|
Plug 'tpope/vim-fugitive' " Other git commands
|
|
Plug 'machakann/vim-highlightedyank' " Highlight text when copied
|
|
Plug 'itchyny/lightline.vim' " Status bar
|
|
Plug 'tpope/vim-eunuch' " File manipulation in Vim
|
|
Plug 'tpope/vim-vinegar' " Fixes netrw file explorer
|
|
Plug 'lambdalisue/fern.vim' " File explorer / project drawer
|
|
Plug 'christoomey/vim-tmux-navigator' " Hotkeys for tmux panes
|
|
|
|
" CoC (Language Server Protocol, requires NodeJS)
|
|
Plug 'neoclide/coc.nvim', {'branch': 'release'} " Code completion
|
|
|
|
call plug#end()
|