plugins.vim (2492B)
1 """"" PLUGIN SOURCES """"""""""""""""""""""""""""""""""""""""""""""""""""""""""" 2 3 call plug#begin('~/.vim/vim-plugs') " Specify a directory for plugins 4 5 """"" Misc """""" 6 Plug 'tpope/vim-unimpaired' " nav. errors with ]q, newlines with ]spc 7 8 """""" File system """"""" 9 Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } 10 Plug 'junegunn/fzf.vim' " fzf commands from within vim 11 Plug 'ludovicchabant/vim-gutentags' " automatic tag generation 12 Plug 'tpope/vim-eunuch' " :SudoWrite, :Rename, :Move, etc 13 14 """""" Syntax checking """""" 15 Plug 'w0rp/ale' " asynchronous syntax check 16 Plug 'lukhio/adVIMsor', { 'on': 'AdVIMsorEnable' } " checks with :AdVIMsor* 17 18 """""" Buffer motion """""" 19 Plug 'justinmk/vim-sneak' " move cursor s{char}{char}, use cl for sub 20 21 """"""" Text editing """""" 22 Plug 'tpope/vim-surround' " modify surrounding symbols 23 Plug 'tpope/vim-repeat' " repeat plugin bindings with . 24 Plug 'tomtom/tcomment_vim' " comment line with gcc, motion with gc 25 Plug 'reedes/vim-litecorrect' " autocorrect common typos 26 Plug 'reedes/vim-pencil' " used for line wrapping in mails 27 28 """""" Autocomplete """""" 29 Plug 'honza/vim-snippets' " snippets are separate from ultisnips 30 Plug 'SirVer/ultisnips' " complete boilerplate code 31 32 """""" Version control """""" 33 Plug 'tpope/vim-fugitive' " :Gread, :Gwrite, etc. 34 Plug 'airblade/vim-gitgutter' " show line changes since last git commit 35 36 """""" Processes """""" 37 Plug 'tpope/vim-dispatch' " for asynchronous :Make 38 39 40 """""" File types """""" 41 42 " Julia 43 Plug 'JuliaLang/julia-vim' 44 45 " Python 46 Plug 'nvie/vim-flake8' 47 Plug 'vim-scripts/indentpython.vim' 48 49 " Markdown 50 Plug 'tpope/vim-markdown' 51 52 " Mail 53 Plug 'vim-scripts/mutt-aliases', { 'for': 'mail' } " complete aliases w C-x C-u 54 55 call plug#end() " Initialize plugin system 56 57 58 """"" PLUGIN SETTINGS """""""""""""""""""""""""""""""""""""""""""""""""""""""""" 59 60 let g:gitgutter_map_keys = 0 61 62 let g:sneak#label = 1 63 64 " better key bindings for UltiSnipsExpandTrigger 65 let g:UltiSnipsExpandTrigger = "<tab>" 66 let g:UltiSnipsJumpForwardTrigger = "<tab>" 67 let g:UltiSnipsJumpBackwardTrigger = "<s-tab>" 68 69 " vim-markdown configuration 70 let g:markdown_fenced_languages = ['html', 'python', 'bash=sh', 'julia', 'c', 'cpp'] 71 let g:markdown_syntax_conceal = 0 72 73 " ignore .gitignore files from ctags 74 let g:gutentags_file_list_command = 'rg --files'