Skip to content

derekprior/vim-trimmer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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'].

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •