解决报错

The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). Unexpected exit code 1. Type ':YcmToggleLogs ycmd_61059_stderr_7icmwzex.log' to check the logs.

cd ~/.vim/bundle/YouCompleteMe/

python3 install.py

报错:ERROR: Unable to find cmake executable in any of ['cmake3', 'cmake']. CMake is required to build ycmd

brew install cmake

==> Caveats To install the CMake documentation, run: brew install cmake-docs

Emacs Lisp files have been installed to: /opt/homebrew/share/emacs/site-lisp/cmake ==> Summary 🍺 /opt/homebrew/Cellar/cmake/3.25.1: 3,167 files, 45.9MB ==> Running brew cleanup cmake... Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP. Hide these hints with HOMEBREW_NO_ENV_HINTS (see man brew).

配置 vim

打造舒适mac终端 - 掘金

  1. 安装 vim

    brew install vim
    
  2. 安装 Vundle(插件管理工具)

    https://github.com/VundleVim/Vundle.vim#about

<aside> 🔥 以下插件基于 Vundle

</aside>