https://github.com/solareenlo/vimrc-c-cpp
My .vimrc for c and cpp
https://github.com/solareenlo/vimrc-c-cpp
c cpp vim vimrc
Last synced: 3 months ago
JSON representation
My .vimrc for c and cpp
- Host: GitHub
- URL: https://github.com/solareenlo/vimrc-c-cpp
- Owner: solareenlo
- Created: 2021-06-28T11:26:00.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-05-23T15:48:06.000Z (about 2 years ago)
- Last Synced: 2024-12-30T09:15:25.345Z (5 months ago)
- Topics: c, cpp, vim, vimrc
- Language: Vim Script
- Homepage:
- Size: 50.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vimrc-c-cpp
- My `.vimrc` for c and cpp## Usage
### c_formatter_42
```shell
echo "export PATH=$HOME/Library/Python/3.9/bin:$PATH" >> .zshrc
```### ccls
```shell
curl -O https://raw.githubusercontent.com/solareenlo/vimrc-c-cpp/main/.ccls
```### vim-autoformat
```shell
curl -O https://raw.githubusercontent.com/solareenlo/vimrc-c-cpp/main/.clang-format
echo "let g:python3_host_prog=\"$(which python3)\"" >> .vimrc
```## References
- [solareenlo/42myvimrc](https://github.com/solareenlo/42myvimrc)### c_formatter_42
- [dawnbeen/c_formatter_42](https://github.com/dawnbeen/c_formatter_42)
- [cacharle/c_formatter_42.vim](https://github.com/cacharle/c_formatter_42.vim)### ccls
- [Configure .ccls file for Vim](https://stackoverflow.com/questions/63528459/configure-ccls-file-for-vim?rq=1)
- [MaskRay/ccls](https://github.com/MaskRay/ccls)
- ccls とは,c, cpp の LSP のサーバーのこと.
- [Implementations Language Servers](https://microsoft.github.io/language-server-protocol/implementors/servers/)### clang-format
- `clang format` とは,c, cpp の formatter のこと.
- [C++ – clang-format の使い方、全オプションを解説](https://pystyle.info/cpp-how-to-use-clang-format/)
- [Clang Format Editor (Clang 13) version 0.3.0](https://pystyle.info/apps/clang-format-editor/)
- [Clang-Format Style Options](https://clang.llvm.org/docs/ClangFormatStyleOptions.html)
- [ClangFormat](https://clang.llvm.org/docs/ClangFormat.html)