summaryrefslogtreecommitdiff
path: root/.vim/.vimrc
blob: ae7ba54bb99cfb7f427c8cf867a610df33aa113c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
runtime startup/settings.vim
runtime startup/mappings.vim

call plug#begin('~/.vim/plugged')

""" Customization
Plug 'morhetz/gruvbox', {'rtp': 'vim'} " Color theme
" Plug 'itchyny/lightline.vim'           " Statusline and tabline for Vim
Plug 'ryanoasis/vim-devicons'          " Icons on stuff like NERDTree

""" Quality of life
Plug 'tomtom/tcomment_vim'    " Toggle comments (gc, gcc)
Plug 'Raimondi/delimitMate'   " Autocomplete brackets and quotes
Plug 'preservim/nerdtree'     " Browse directories (:NERDTree)
Plug 'mbbill/undotree'        " Easily interact with undo history
Plug 'mg979/vim-visual-multi' " Multiple line cursor (and other stuff)
Plug 'godlygeek/tabular'      " Line up text by a given character (:Tabularize /CHAR)
Plug 'tpope/vim-eunuch'       " Easy UNIX shell commands
Plug 'alvan/vim-closetag'     " Automatically add HTML closing tags
Plug 'kien/tabman.vim'        " Show open buffers
Plug 'ervandew/supertab'      " Makes <Tab> be nicer to use with Omnicompletion

""" Software development
Plug 'dense-analysis/ale'                   " Linting with LSP
Plug 'honza/vim-snippets'                   " Ready snippets for some languages
Plug 'editorconfig/editorconfig-vim'        " Support for EditorConfig
Plug 'zivyangll/git-blame.vim'              " Show who last edited a line
Plug 'wakatime/vim-wakatime'                " Time tracking via wakatime.com

""" Language integration
Plug 'dNitro/vim-pug-complete', { 'for': ['jade', 'pug'] } " Pug: Omnicompletion integration
Plug 'digitaltoad/vim-pug', { 'for': ['jade', 'pug'] }     " Pug: Filetype detection, identation, syntax highlighting
Plug 'bfrg/vim-cpp-modern', { 'for': ['c', 'cpp'] }        " C/C++: Better syntax highlighting
Plug 'itchyny/vim-haskell-indent', { 'for': 'haskell' }    " haskell: Adds identation
Plug 'vim-scripts/syntaxhaskell.vim', { 'for': 'haskell' } " haskell: Better syntax highlighting

call plug#end()

"""
""" Manual plugins
"""

runtime miniplugins/code_terminal.vim
runtime miniplugins/statusline.vim
runtime miniplugins/tabline.vim
runtime miniplugins/spell_check_mode.vim

runtime startup/pluginsettings.vim