Skip to content
Projects

bronson/vim-trailing-whitespace

View on GitHub

bronson/vim-trailing-whitespace has 454 GitHub stars and 61 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-21 03:59 UTC. Last push 2026-04-16.

How these counts are measured

Measured star growth

in 24h
0
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

Highlights trailing whitespace in red and provides :FixWhitespace to fix it.

Developer Tools

README.md

Original

This plugin causes trailing whitespace to be highlighted in red.

To fix the whitespace errors, call :FixWhitespace. By default it operates on the entire file. Pass a range (or use V to select some lines) to restrict the portion of the file that gets fixed.

The repo is at http://github.com/bronson/vim-trailing-whitespace

Originally based on http://vim.wikia.com/wiki/Highlight_unwanted_spaces

License: cc-by-sa. The instructions this plugin is based on were licensed cc-by-sa so, until a reason to force a different license appears, we'll continue to use it.

A more complete alternative is at https://github.com/ntpeters/vim-better-whitespace