2020-08-08 20:27:01 +02:00
|
|
|
" =====PLUGINS=====
|
|
|
|
" Load the plugins
|
|
|
|
call plug#begin('~/.config/nvim/plugged')
|
|
|
|
|
2020-08-17 09:55:58 +02:00
|
|
|
" Gutentags creates a ctags file asynchronously. This allows me to jump to
|
|
|
|
" definitions easily.
|
2020-08-08 20:27:01 +02:00
|
|
|
Plug 'ludovicchabant/vim-gutentags', { 'commit': '31c0ead' }
|
|
|
|
|
2020-10-25 10:10:44 +01:00
|
|
|
" File navigation
|
2020-08-08 20:27:01 +02:00
|
|
|
Plug 'ctrlpvim/ctrlp.vim'
|
|
|
|
|
|
|
|
" Git client within Vim
|
|
|
|
Plug 'tpope/vim-fugitive'
|
|
|
|
|
|
|
|
" Change surrounding quotes, brackets...
|
|
|
|
Plug 'tpope/vim-surround'
|
|
|
|
|
|
|
|
" Comment out lines easily
|
|
|
|
Plug 'tpope/vim-commentary'
|
|
|
|
|
|
|
|
" Powerful auto-complete engine
|
|
|
|
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
|
|
|
|
|
|
|
" Show ctags in sidebar, useful for navigation
|
|
|
|
Plug 'majutsushi/tagbar'
|
|
|
|
|
|
|
|
" Show Git diffs in sidebar
|
|
|
|
Plug 'airblade/vim-gitgutter'
|
|
|
|
|
|
|
|
" Show indentation using thin lines
|
|
|
|
Plug 'yggdroot/indentline'
|
|
|
|
|
|
|
|
" Auto-indent according to PEP8 rules
|
|
|
|
Plug 'hynek/vim-python-pep8-indent'
|
|
|
|
|
2020-08-09 07:49:51 +02:00
|
|
|
" Text object based on current indent level (e.g. Python)
|
|
|
|
Plug 'michaeljsmith/vim-indent-object'
|
|
|
|
|
2020-10-25 10:10:44 +01:00
|
|
|
" Sidebar showing file structure
|
2020-08-20 14:29:03 +02:00
|
|
|
Plug 'scrooloose/nerdtree'
|
|
|
|
|
2020-10-23 09:45:55 +02:00
|
|
|
" Toml syntax highlighting
|
|
|
|
Plug 'cespare/vim-toml'
|
|
|
|
|
|
|
|
" Auto-bracket pairs
|
|
|
|
Plug 'jiangmiao/auto-pairs'
|
|
|
|
|
2020-10-25 10:10:44 +01:00
|
|
|
" This plugin allows you to align text according to specified delimiters
|
|
|
|
" e.g. this:
|
|
|
|
" x = 5
|
|
|
|
" alongname = 15
|
|
|
|
" can become this:
|
|
|
|
" x = 15
|
|
|
|
" alongname = 15
|
2020-10-23 09:45:55 +02:00
|
|
|
Plug 'godlygeek/tabular'
|
|
|
|
|
2020-10-25 10:10:44 +01:00
|
|
|
" Some auto-complete for haskell
|
2020-10-23 09:45:55 +02:00
|
|
|
Plug 'neovimhaskell/haskell-vim'
|
|
|
|
|
2020-08-08 20:27:01 +02:00
|
|
|
call plug#end()
|