/vim-config

My personal vim configurationMy personal vim configuration

Primary LanguageVim Script

My personal vim configuration

Not used anymore, transferred to https://github.com/lpg2709/dotfiles

Require:

Optional:

Install

Just copy and paste this command:

bash -c  "$(wget -qO- https://git.io/JCbTi)"

and press ENTER.

Into vim:

:PlugInstall

Using COC

Needed NodeJS. Install

For C/C++ needed install clangd, and make a alternative link to clangd-10.

sudo apt-get install clangd-10 llvm
sudo update-alternatives --install /usr/bin/clangd clangd /usr/bin/clangd-10 100

Into vim:

CocInstall coc-tsserver coc-pyright coc-json coc-css coc-clangd coc-markdownlint coc-rls coc-go coc-prettier coc-calc coc-cmake coc-sh

Extensions:

  • coc-tsserver for javascript and typescript
  • coc-pyright for python, Pyright extension
  • coc-json for json
  • coc-css for css, scss and less
  • coc-clangd for C/C++/Objective-C, use clangd
  • coc-markdownlint for markdown linting
  • coc-rls for rust, use Rust Language Server
  • coc-go for go, use gopls
  • coc-prettier a fork of prettier-vscode
  • coc-calc expression calculation extension
  • coc-cmake for cmake code completion
  • coc-sh for bash using bash-language-server