remove unused plugins

This commit is contained in:
Ray Elliott 2021-09-04 12:21:41 +01:00
parent 174362d35f
commit 78b7069aa7
1 changed files with 3 additions and 69 deletions

View File

@ -293,72 +293,6 @@ let g:vim_markdown_fenced_languages = ['bash=sh']
" ------------------------------------------------------------------------------ " ------------------------------------------------------------------------------
" get rid
" #coc.nvim{{{
" https://github.com/neoclide/coc.nvim
" SEE BOTTOM OF THIS FILE FOR coc#add_extension statement
" for some reason fails when added some other places
" Plug 'neoclide/coc.nvim', {'branch': 'release', 'do': { -> coc#util#install()}}
" let g:coc_snippet_next = '<tab>'
" let g:coc_snippet_prev = '<s-tab>'
" inoremap <silent><expr> <c-n> coc#refresh()
nnoremap <silent> <silent> <space><space> :call CocAction('doHover')<CR>
nnoremap <silent> <space>cf :call CocAction('doQuickfix')<CR>
nnoremap <silent> <space>cg :call CocAction('jumpDefinition')<CR>
nnoremap <silent> <space>ci :call CocAction('jumpImplementation')<CR>
nnoremap <silent> <space>cr :call CocAction('jumpReferences')<CR>
nnoremap <silent> <space>cm :call CocAction('rename')<CR>
nnoremap <silent> <space>ca :call CocAction('codeAction')<CR>
nnoremap <silent> <space>cs :call CocAction('documentSymbols')<CR>
nnoremap <silent> <space>cS :call CocAction('workspaceSymbols')<CR>
nnoremap <silent> ]c :call CocAction('diagnosticNext')<CR>
nnoremap <silent> [c :call CocAction('diagnosticPrevious')<CR>
command! -nargs=0 Format :call CocAction('format')
command! -nargs=? Fold :call CocAction('fold', <f-args>)
" }}}
" #polyglot{{{
" https://github.com/sheerun/vim-polyglot
" Plug 'sheerun/vim-polyglot'
" vue options
" let g:vue_disable_pre_processors=0
" set custom syntax highlighting
" augroup fixhighlighting
" autocmd!
" autocmd BufNewFile,BufRead *.vue syntax sync fromstart
" augroup END
"}}}
" #echodoc.vim{{{
" https://github.com/Shougo/echodoc.vim
" display function signatures fromm completions in the command line
" Plug 'Shougo/echodoc.vim'
"}}}
" #rainbow{{{
" https://github.com/luochen1990/rainbow/blob/master/README.md
" Plug 'luochen1990/rainbow'
" let g:rainbow_active = 0
" nnoremap <cr>9 :RainbowToggle<cr>
" nnoremap <cr>( :RainbowToggle<cr>
"}}}
" #vim-easy-align {{{
" https://github.com/junegunn/vim-easy-align
" Plug 'junegunn/vim-easy-align'
"
" xmap ga <Plug>(EasyAlign)
" nmap ga <Plug>(EasyAlign)
"}}}
" #vim-git{{{
" https://github.com/tpope/vim-git
" Plug 'tpope/vim-git'
"}}}
call plug#end() call plug#end()
runtime macros/matchit.vim runtime macros/matchit.vim
@ -499,9 +433,9 @@ local on_attach = function(client, bufnr)
buf_set_keymap('n', 'K', '<cmd>lua vim.lsp.buf.hover()<CR>', opts) buf_set_keymap('n', 'K', '<cmd>lua vim.lsp.buf.hover()<CR>', opts)
buf_set_keymap('n', 'gi', '<cmd>lua vim.lsp.buf.implementation()<CR>', opts) buf_set_keymap('n', 'gi', '<cmd>lua vim.lsp.buf.implementation()<CR>', opts)
buf_set_keymap('n', '<C-k>', '<cmd>lua vim.lsp.buf.signature_help()<CR>', opts) buf_set_keymap('n', '<C-k>', '<cmd>lua vim.lsp.buf.signature_help()<CR>', opts)
buf_set_keymap('n', '<space>wa', '<cmd>lua vim.lsp.buf.add_workspace_folder()<CR>', opts) -- buf_set_keymap('n', '<space>wa', '<cmd>lua vim.lsp.buf.add_workspace_folder()<CR>', opts)
buf_set_keymap('n', '<space>wr', '<cmd>lua vim.lsp.buf.remove_workspace_folder()<CR>', opts) -- buf_set_keymap('n', '<space>wr', '<cmd>lua vim.lsp.buf.remove_workspace_folder()<CR>', opts)
buf_set_keymap('n', '<space>wl', '<cmd>lua print(vim.inspect(vim.lsp.buf.list_workspace_folders()))<CR>', opts) -- buf_set_keymap('n', '<space>wl', '<cmd>lua print(vim.inspect(vim.lsp.buf.list_workspace_folders()))<CR>', opts)
buf_set_keymap('n', '<space>D', '<cmd>lua vim.lsp.buf.type_definition()<CR>', opts) buf_set_keymap('n', '<space>D', '<cmd>lua vim.lsp.buf.type_definition()<CR>', opts)
buf_set_keymap('n', '<space>rn', '<cmd>lua vim.lsp.buf.rename()<CR>', opts) buf_set_keymap('n', '<space>rn', '<cmd>lua vim.lsp.buf.rename()<CR>', opts)
buf_set_keymap('n', '<space>ca', '<cmd>lua vim.lsp.buf.code_action()<CR>', opts) buf_set_keymap('n', '<space>ca', '<cmd>lua vim.lsp.buf.code_action()<CR>', opts)