diff --git a/.vimrc_vundle b/.vimrc_vundle index 89a789b..3db84bd 100755 --- a/.vimrc_vundle +++ b/.vimrc_vundle @@ -114,11 +114,21 @@ Plugin 'chrisbra/unicode.vim' " | YouCompleteMe | " | https://valloric.github.io/YouCompleteMe/ | " | | -" | Install: | -" | https://github.com/ycm-core/YouCompleteMe?tab=readme-ov-file#linux-64-bit| +" | Install: | +" |https://github.com/ycm-core/YouCompleteMe?tab=readme-ov-file#linux-64-bit | " | | +" | Upgrade: | +" |cd ~/.vim/bundle/YouCompleteMe | +" |git fetch | +" |python3 ./install.py --clang-completer --go-completer --ts-completer | +" | | +" | | +" | on errors with gopls: | +" |go install golang.org/x/tools/gopls@latest | +" |python3 ./install.py --clang-completer --ts-completer | " <~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~> " (_) (_) + Plugin 'Valloric/YouCompleteMe' let g:ycm_language_server = [] @@ -337,6 +347,7 @@ Plugin 'fatih/vim-go' autocmd FileType go nmap m (go-test) autocmd FileType go nmap a :GoAlternate autocmd FileType go nmap gd (go-def) +autocmd FileType go nmap gr :GoRename autocmd FileType go set foldmethod=syntax " go test autocmd FileType go nmap t :GoTestFunc