# Dark powered Vim/Neovim plugin manager [[plugins]] repo = 'Shougo/dein.vim' # hook_post_update = 'UpdateRemotePlugins' [[plugins]] repo = 'roxma/vim-hug-neovim-rpc' if = '!has("nvim")' [[plugins]] repo = 'roxma/nvim-yarp' if = '!has("nvim")' # A solid language pack for Vim. [[plugins]] repo = 'sheerun/vim-polyglot' hook_add = ''' let g:polyglot_disabled = ['rust', 'ruby', 'ada'] ''' [[plugins]] repo = 'editorconfig/editorconfig-vim' [[plugins]] repo = 'nanotech/jellybeans.vim' hook_post_update = 'Dein recache-runtimepath' hook_add = ''' set background=dark colorscheme jellybeans ''' [[plugins]] repo = 'itchyny/lightline.vim' hook_add = ''' let g:lightline = { \ 'colorscheme': 'jellybeans', \ 'active': { \ 'left': [ [ 'mode', 'winnr', 'bufnum', 'paste' ], \ [ 'relativepath', 'readonly', 'modified' ] ], \ 'right': [ [ 'lineinfo' ], \ [ 'percent' ], \ [ 'fileformat', 'fileencoding', 'filetype' ] ] \ }, \ 'component_function': { \ }, \ } let g:lightline.inactive = { \ 'left': [ [ 'filename' ] ], \ 'right': [ [ 'lineinfo' ], \ [ 'percent' ] ] } ''' # "which" and "exec" functions targeted at local node project bin, with "which" fallback [[plugins]] repo = 'jaawerth/nrun.vim' # commentary.vim: comment stuff out [[plugins]] repo = 'tpope/vim-commentary' hook_add = ''' autocmd FileType ocaml setlocal commentstring=(*\ %s\ *) ''' # Vim plugin, insert or delete brackets, parens, quotes in pair [[plugins]] repo = 'jiangmiao/auto-pairs' # vim-jp/autofmt [[plugins]] repo = 'vim-jp/autofmt' # Context filetype library for Vim script [[plugins]] repo = 'Shougo/context_filetype.vim' # Vim constext filetype [[plugins]] repo = 'osyo-manga/vim-precious' depends = ['context_filetype.vim'] [[plugins]] repo = 'junegunn/fzf' build = './install --all' merged = 0 [[plugins]] repo = 'junegunn/fzf.vim' depends = 'fzf' hook_add = ''' " override ripgrep command for preview command! -bang -nargs=* Rg \ call fzf#vim#grep( \ 'rg --column --line-number --no-heading --color=always --smart-case '.shellescape(), 1, \ 0 ? fzf#vim#with_preview('up:60%') \ : fzf#vim#with_preview('right:50%:hidden', '?'), \ 0) command! -bang -nargs=* CurrentWordRg \ call fzf#vim#grep( \ 'rg --column --line-number --no-heading --color=always --smart-case '.shellescape(expand('')), 1, \ 0 ? fzf#vim#with_preview('up:60%') \ : fzf#vim#with_preview('right:50%:hidden', '?'), \ 0) command! -bang -nargs=? -complete=dir CurrentBufferDir \ call fzf#vim#files(expand('%:p:h'), fzf#vim#with_preview(), 0) command! -bang -nargs=? -complete=dir ProjectDir \ call fzf#vim#files(getcwd(), fzf#vim#with_preview(), 0) command! -bang -nargs=? -complete=dir Files \ call fzf#vim#files(, fzf#vim#with_preview(), 0) nnoremap / :BLines nnoremap cw :CurrentWordRg nnoremap cbd :CurrentBufferDir nnoremap pd :ProjectDir nnoremap rg :Rg nnoremap gr :Rg nnoremap b :Buffers nnoremap f :Files nnoremap t :Tags ''' # Open URI with your favorite browser from your most favorite editor [[plugins]] repo = 'tyru/open-browser.vim' # Vim and Neovim plugin to reveal the commit messages under the cursor [[plugins]] repo = 'rhysd/git-messenger.vim' [[plugins]] repo = 'itchyny/vim-pdf' [[plugins]] repo = 'mbbill/undotree' [[plugins]] repo = 'bfredl/nvim-luadev' # Plugin for vim to enabling opening a file in a given line [[plugins]] repo = 'bogado/file-line' [[plugins]] repo = 'machakann/vim-vimhelplint' [plugins.ftplugin] help = ''' nnoremap ,r :VimhelpLint! ''' [[plugins]] repo = 'liuchengxu/vista.vim' hook_add = ''' let g:vista_echo_cursor_strategy = 'floating_win' let g:vista_close_on_jump = 1 let g:vista_default_executive = 'nvim_lsp' function! NearestMethodOrFunction() abort return get(b:, 'vista_nearest_method_or_function', '') endfunction ''' [[plugins]] repo = 'mattn/vim-goaddtags' [[plugins]] repo = 'mattn/vim-gorename'