Personnal Vim configuration file.
Clone this repository and add the following to your .vimrc
file:
so /path/to/this/repo/vim_config.vim
I use vim-plug to manage plugins. Run the following to install this plugin manager:
$ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Run the following in vim to manage plugins:
:PlugInstall
:PlugUpdate
Install clang-format as follows:
$ sudo apt-get update
$ sudo apt-get install clang-format
This plugin requires nodejs >= 10.12. Install it as follows:
$ curl -sL install-node.now.sh/lts | sudo bash
For C++, consider installing the coc-clangd.
:CocInstall coc-clangd
To generate the compilation database with Bazel, look up bazel-compilation-database.