Install prerequisites packages and tools.
The Neovim configuration file will been installed on ~/.config/nvim
.
curl -sSL https://raw.githubusercontent.com/yimjiajun/.dotfiles/main/tools/nvim.sh | bash
- lazy : Neovim Plugins Manager
- fzf : Fuzzy Files Finder
- htop : Linux resource monitor
- bpytop : Linux resource monitor via python
- ripgrep : Recursively directories for a regex pattern
- lazygit : GUI git interface
- gitui : GUI git interface written in rust
- ncdu : Disk usage analyzer with an ncurses interface
- dutree : Analyze file system usage written in Rust
Getting started : how's to clangd
Build rules implement by CMake,
the necessary file compile_command.json
will generated in build/
directory
- force to generate
compilie_command.json
by configuration, if the file not generated in build stage
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1
Link the compilie_command.json
on CWD
/ current working directory from source code project.
ln -s ${project}/build/compilie_command.json .
The compile_commands.json
file may not be generated by a specific compiler,
which can cause issues with the proper functioning of clangd and the inability to use LSP features.
Therefore, we need to customize and add its manually.
clangd setting guide:
- vim basic keyboard features introductions
- vim basic commands introduction