vim/vim SLOC report

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.

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
Vim Script25266076035540642430829231
C2195687174419897794048788
PO File4737698723493538744103308
C Header77437493357359484228
Makefile4313523931225611650
C++78577620711741196
Prolog1616158580133225
Autoconf43704753147001033
Java2833722198751423
Shell4229451987573385
Python4224791843336300
GDB Script2169616401739

Top language (Vim Script 42.4%). Generated at 2026-09-03T15:56:19.483668752+00:00.

Report FAQ

How many lines of code does vim/vim have?

vim/vim has 1,677,758 total lines, including 1,307,986 code lines, 173,650 comment lines, and 196,122 blank lines.

How was the vim/vim line count measured?

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.

What commit was counted for vim/vim?

This OctoCounts report was generated from master at commit f1b454912996 on 2026-09-03T15:56:19.483668752+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: