GitXplorerGitXplorer
d

vim-trimmer

public
5 stars
3 forks
0 issues

Commits

List of commits on branch master.
Unverified
ebe3473adb785a1e65811a3f38842bb35bd3a5a8

Remove the whitespace search from search history

eeagletek committed 7 years ago
Verified
c23a441aba42d54cbfa81e28f95101e4a5162b63

Revert "Trim trailing or repeated empty lines"

dderekprior committed 8 years ago
Verified
10f4f4a5e5d1ff8c7db86c213526d0f89a055942

Clean up some vim-vint linting issues

dderekprior committed 8 years ago
Verified
5d80444be3c0b953238b3db401aeab7a377ac41f

Remove broken help links

dderekprior committed 9 years ago
Verified
84a9d11d9866330f0744096fb2620a1c0efab97f

Add docs

dderekprior committed 9 years ago
Unverified
03c5ff61d909c3ef61ac8422ca67684d01857688

Trim trailing or repeated empty lines

ggeoffharcourt committed 9 years ago

README

The README file for this repository.

vim-trimmer

A super-simple vim plugin that:

  • Adds an autocmd that trims trailing whitespace on buffer write while preserving cursor position.
  • Optionally disables the autocmd for specified blacklisted filetypes (see configuration).

Installation

Use Vundle and add the following to your .vimrc:

Bundle 'derekprior/vim-trimmer'

Run the :BundleInstall command and you're off.

Configuration

To opt certain filetypes out of the autocommand, add them to the blacklist array like so: let g:trimmer_blacklist = ['markdown', 'make'].