首先,安裝k-vim舷胜,按照里面的步驟安裝即可活翩。
安裝完成后,在vimrc
中修改主題為molokai
如果打開vim
后材泄,報(bào)如下錯(cuò)誤:
The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). YCM core library not detected; you need to compile YCM before
using it. Follow the instructions in the documentation.
Press ENTER or type command to continue
解決方法:
chan@ubuntu1804:~$ cd .vim/bundle/YouCompleteMe
chan@ubuntu1804:~/.vim/bundle/YouCompleteMe$ ./install.py