dorkhub

vim-strip-trailing-whitespace

🎞️ Vim plugin that removes trailing whitespace from *modified* lines on save

axelf4
Vim Scriptβ˜… 73β‘‚ 8 forksMITupdated 2 months ago
visit the demogit clone https://github.com/axelf4/vim-strip-trailing-whitespace.gitaxelf4/vim-strip-trailing-whitespace

vim-strip-trailing-whitespace

Vim plugin that removes trailing whitespace

  • from modified lines: Should not introduce extraneous changes into the diff, even when editing faulty files.

    For fixing up the whole file the command :StripTrailingWhitespace is provided.

  • on save: Lines changing under you feet breaks any flow and is a compatibility hazard.

Achieved by maintaining a set of all edited lines with trailing whitespace, backed by a Splay tree where children store line number offsets.

Vim support: requires Vim 8.2+ or Neovim 0.5+

more like this

vim-dap

Vim/Neovim debugger plugin providing a terminal interface to the Debug Adapter Protocol

Vim Scriptβ˜… 50

vim-halo

:innocent: Visual highlight for your cursor.

Vim scriptβ˜… 50

search

search projects, people, and tags