As of 2026-09-03 (commit f1b454912996), vim/vim contains 1,677,758 total lines: 1,307,986 code, 173,650 comments, 196,122 blank, across 3,433 files in 45 languages (top: Vim Script 42.4%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving vim/vim to commit f1b454912996, 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.
This is a very large codebase by counted code lines. Code represents 78.0% of all lines, comments represent 10.4%, and the repository averages 381 code lines per file. Vim Script accounts for 42.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Vim Script | 2526 | 607603 | 554064 | 24308 | 29231 |
| C | 219 | 568717 | 441989 | 77940 | 48788 |
| PO File | 47 | 376987 | 234935 | 38744 | 103308 |
| C Header | 77 | 43749 | 33573 | 5948 | 4228 |
| Makefile | 43 | 13523 | 9312 | 2561 | 1650 |
| C++ | 7 | 8577 | 6207 | 1174 | 1196 |
| Prolog | 161 | 6158 | 5801 | 332 | 25 |
| Autoconf | 43 | 7047 | 5314 | 700 | 1033 |
| Java | 28 | 3372 | 2198 | 751 | 423 |
| Shell | 42 | 2945 | 1987 | 573 | 385 |
| Python | 42 | 2479 | 1843 | 336 | 300 |
| GDB Script | 2 | 1696 | 1640 | 17 | 39 |
Top language (Vim Script 42.4%). Generated at 2026-09-03T15:56:19.483668752+00:00.
vim/vim has 1,677,758 total lines, including 1,307,986 code lines, 173,650 comment lines, and 196,122 blank lines.
OctoCounts resolved the public GitHub repository to commit f1b454912996, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from master at commit f1b454912996 on 2026-09-03T15:56:19.483668752+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: