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 5K
  • OS X 4K
  • Linux 667
Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8
Windows 6 5 2 2 2 3 6 3 2 2 1 3 4 9 2 4 2 0 6 5 6 9 3 0 4 3 4 4 4 5 2 3 6 4 8 5 1 2 4 8 8 14 5 3 2 1
OS X 0 1 2 1 0 0 0 0 3 2 0 5 8 1 0 1 3 1 1 0 1 2 2 0 0 1 0 3 5 1 1 2 0 2 2 1 1 3 0 2 6 4 2 2 1 1
Linux 0 1 0 3 0 0 0 0 0 2 0 0 0 0 0 0 1 0 1 0 1 1 0 0 0 1 0 0 0 0 0 0 0 0 2 0 0 0 0 0 1 0 3 1 1 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