Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Plugin for Sublime Text 2 to remove blank lines and whitespaces
Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
Default (Linux).sublime-keymap
Default (OSX).sublime-keymap
Default (Windows).sublime-keymap
README.md
ShrinkWhitespaces.py First version

README.md

Shrink Whitespaces

This plugin gives you shrink_whitespaces command for Sublime Text 2. With it you can:

  • Convert a set of blank lines in just one blank line, or
  • Remove the blank line that is between two paragraphs, or
  • Remove a set of whitespaces between two words, or
  • Remove the whitespace between two letters.

The action depends on the context where the command is used.

Default keyboard shortcut: Alt+W

Based on ErgoEmacs's shrink-whitespaces function, which is a combination of three Emacs functions: just-one-space, delete-blank-lines, and delete-horizontal-space.

Something went wrong with that request. Please try again.