# vim/vim SLOC report

> As of 2026-09-14 (commit 6e67c47e6edd), vim/vim contains 1,959,337 total lines: 1,313,276 code, 399,309 comments, 246,752 blank, across 3,604 files in 45 languages (top: Vim Script 42.3%). Default configuration. Counted with tokei via OctoCounts.

vim/vim has 1,313,276 source lines of code out of 1,959,337 total lines across 3,604 files, counted from the master ref at commit 6e67c47e6edd by the OctoCounts tokei engine on 2026-09-14. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving vim/vim to commit 6e67c47e6edd, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 67.0% of all lines, comments represent 20.4%, and the repository averages 364 code lines per file. Vim Script accounts for 42.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Vim Script | 2,530 | 609,330 | 555,629 | 24,390 | 29,311 |
| C | 220 | 569,694 | 442,709 | 78,137 | 48,848 |
| PO File | 47 | 377,017 | 234,957 | 38,744 | 103,316 |
| C Header | 77 | 43,779 | 33,593 | 5,957 | 4,229 |
| Makefile | 46 | 14,682 | 10,211 | 2,658 | 1,813 |
| C++ | 7 | 8,596 | 6,221 | 1,176 | 1,199 |
| Prolog | 161 | 6,164 | 6,124 | 15 | 25 |
| Autoconf | 43 | 7,047 | 5,314 | 700 | 1,033 |
| Java | 28 | 3,372 | 2,198 | 751 | 423 |
| GDB Script | 3 | 2,291 | 2,128 | 20 | 143 |
| Shell | 42 | 2,945 | 1,987 | 573 | 385 |
| Python | 42 | 2,479 | 1,843 | 336 | 300 |

Top language (Vim Script 42.3%). Generated at 2026-09-14T20:17:11.001505709+00:00. Canonical report: https://octocounts.com/github/vim/vim

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/vim/vim/commit/6e67c47e6edd163706345dcf84f305f128583396?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Atrue%2C%22includeTests%22%3Atrue%2C%22includeGenerated%22%3Atrue%7D).

## Report FAQ

### How many lines of code does vim/vim have?

vim/vim has 1,959,337 total lines, including 1,313,276 code lines, 399,309 comment lines, and 246,752 blank lines.

### How was the vim/vim line count measured?

OctoCounts resolved the public GitHub repository to commit 6e67c47e6edd, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for vim/vim?

This OctoCounts report was generated from master at commit 6e67c47e6edd on 2026-09-14T20:17:11.001505709+00:00.

## Similar repository reports

- [neovim/neovim](https://octocounts.com/github/neovim/neovim) — Vim Script, 1,160,101 code lines
- [tpope/vim-dadbod](https://octocounts.com/github/tpope/vim-dadbod) — Vim Script, 1,692 code lines
- [bitwarden/server](https://octocounts.com/github/bitwarden/server) — C#, 1,318,736 code lines
- [trycua/cua](https://octocounts.com/github/trycua/cua) — JSON, 1,322,459 code lines
- [Comfy-Org/ComfyUI](https://octocounts.com/github/Comfy-Org/ComfyUI) — JSON, 1,331,853 code lines
- [aipoch/open-science](https://octocounts.com/github/aipoch/open-science) — TypeScript, 1,288,498 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
