ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Smart Delete

by mac2000 ST2/ST3

Plugin for Sublime Text to smart delete all spaces after carret

Details

  • 2015.07.07.14.08.36
  • github.​com
  • github.​com
  • 2 years ago
  • 2 hours ago
  • 4 years ago

Installs

  • Total 10K
  • Win 6K
  • OS X 4K
  • Linux 685
Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5
Windows 2 9 5 5 4 2 1 5 4 2 2 3 2 4 1 4 3 3 10 1 7 3 4 6 2 4 3 1 2 8 10 1 3 4 1 8 9 3 4 2 5 1 4 8 7 4
OS X 3 3 3 0 1 0 2 1 1 0 1 3 0 2 3 2 6 2 3 0 3 1 3 1 4 3 0 1 4 2 2 5 4 3 7 7 2 3 6 1 0 2 2 1 4 2
Linux 0 0 1 0 0 0 0 1 2 0 0 0 0 1 0 2 2 2 1 0 0 0 1 0 2 0 1 0 0 0 0 1 1 0 1 1 1 0 1 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime Text Smart Delete Plugin

Plugin for Sublime Text to smart delete all spaces before or after carret.

Delete at end of line

screenshot

This plugin gives you smart_delete command for Sublime Text. With it you can “join” (delete all space symbols) between two lines by pressing just one key.

Default keyboard shortcut: Delete

OS support: Windows, OS X, Linux

Notice: If you are on OS X, please take a note that to execute delete operation you should press Fn + Delete

Installation

With Package Control

If you have the Package Control package installed, you can install Smart delete plugin from inside Sublime Text itself. Open the Command Palette Ctrl+Shift+P and select “Package Control: Install Package”, then search for Smart delete plugin.

Without Package Control

If you haven't got Package Control installed you will need to make a clone of this repository into your packages folder, like so:

git clone https://github.com/mac2000/sublime-smart-delete.git

If you find error feel free to create issue on this repository.

Inspired by reSharper plugin for Visual Studio.

Contributors

Jay Gillibrand