rhysd/vim-clang-format
Vim plugin for clang-format, a formatter for C, C++, Obj-C, Java, JavaScript, and so on. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4764
- days_rel: n/a
- days_push: 1680
- n_releases_24m: 0
Adoption not part of the score
1098 stars · 127 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Vim plugin that integrates the clang-format tool for formatting C, C++, Objective-C, Java, JavaScript, TypeScript, Protobuf, CUDA, and Vala code. It offers commands and operator mappings for whole-buffer, visual-selection, and auto-format-on-write, with style options configurable from .vimrc.
Use cases
- format C++ code in vim with clang-format
- auto-format buffers on save in vim
- format only selected lines in visual mode
- customize clang-format style options from vimrc
- use clang-format without the python interface
- map a key to format code as an operator
When to choose
- you use Vim/Neovim and want deep clang-format integration with operator mappings
- you cannot rely on the Python interface required by clang-format.py
- you want style options configurable directly in .vimrc
When to avoid
- you use another editor like VS Code or Emacs with native clang-format integrations
- you need a formatter for languages outside the C family and clang-format's supported set
- you want an actively developed plugin with recent releases
Facets
plugin · maturity maintenance
formatter developer-tools developer-tools text-editors programming-languages windows cli vim-plugin clang-format code-formatting c-family editor-integration linux macos
6 sources
- readme: https://github.com/rhysd/vim-clang-format · fetched 2026-08-28 · 0bee3d5e37ef
- homepage: http://clang.llvm.org/docs/ClangFormat.html · fetched 2026-08-29 · d96cb2918eec
- site_page: https://clang.llvm.org/docs/index.html · fetched 2026-08-29 · 77b0f53192c8
- site_page: https://clang.llvm.org/docs/ClangCheck.html · fetched 2026-08-29 · 7839baa8fd38
- site_page: https://clang.llvm.org/docs/ClangFormatStyleOptions.html · fetched 2026-08-29 · 50db7dd1a039
- site_page: https://clang.llvm.org/docs/LibFormat.html · fetched 2026-08-29 · a628de8a51e7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rhysd/vim-clang-format | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="rhysd/vim-clang-format")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem