diff --git a/init.vim b/init.vim new file mode 120000 index 0000000..c9a3c9c --- /dev/null +++ b/init.vim @@ -0,0 +1 @@ +vimrc \ No newline at end of file diff --git a/plugin/mappings.vim b/plugin/mappings.vim index d8d848b..0319c83 100644 --- a/plugin/mappings.vim +++ b/plugin/mappings.vim @@ -1,5 +1,5 @@ -" YouCompleteMe -nnoremap fi :YcmCompleter FixIt +" coc.nvim +nnoremap fi :CocFix nnoremap gd :YcmCompleter GoTo nnoremap gt :YcmCompleter GetType nnoremap sd :YcmShowDetailedDiagnostic diff --git a/vimrc b/vimrc index 2bc61c7..3ae6933 100644 --- a/vimrc +++ b/vimrc @@ -34,22 +34,8 @@ endfor " tabline.vim - sanely numbered tabs Pack 'mkitt/tabline.vim' -" YouCompleteMe -Pack 'ycm-core/YouCompleteMe', {'type': 'opt'} -let g:ycm_key_list_select_completion = ['', ''] -let g:ycm_key_list_previous_completion = ['', ''] -let g:ycm_min_num_of_chars_for_completion = 1 -let g:ycm_complete_in_comments = 1 -let g:ycm_complete_in_strings = 1 -let g:ycm_collect_identifiers_from_comments_and_strings = 1 -let g:ycm_seed_identifiers_with_syntax = 1 -let g:ycm_autoclose_preview_window_after_insertion = 1 -let g:ycm_always_populate_location_list = 1 -let g:ycm_error_symbol = '▸' -let g:ycm_warning_symbol = '▸' -let g:ycm_goto_buffer_command = 'horizontal-split' -let g:ycm_use_clangd = 0 -let g:ycm_auto_hover = 0 +" coc.nvim Conqueror of Completion +Pack 'neoclide/coc.nvim', {'branch': 'release'} " ultisnips - snippet engine Pack 'SirVer/ultisnips' @@ -200,8 +186,3 @@ Pack 'greymd/oscyank.vim', {'type': 'opt'} if tmux#isOption('set-clipboard', 'on') packadd oscyank.vim endif - -" Load YouComplteMe if termdebug plugin is not loaded. -if isdirectory(expand('~/.vim/pack/minpac/opt/YouCompleteMe')) - packadd YouCompleteMe -endif