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
  • 1 hour ago
  • 4 years ago

Installs

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

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