Delete Lines
Sublime Text plugin simulates Delete Line command in Eclipse
Details
Installs
- Total 6K
- Win 3K
- Mac 2K
- Linux 613
May 11 | May 10 | May 9 | May 8 | May 7 | May 6 | May 5 | May 4 | May 3 | May 2 | May 1 | Apr 30 | Apr 29 | Apr 28 | Apr 27 | Apr 26 | Apr 25 | Apr 24 | Apr 23 | Apr 22 | Apr 21 | Apr 20 | Apr 19 | Apr 18 | Apr 17 | Apr 16 | Apr 15 | Apr 14 | Apr 13 | Apr 12 | Apr 11 | Apr 10 | Apr 9 | Apr 8 | Apr 7 | Apr 6 | Apr 5 | Apr 4 | Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 2 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Delete Lines (Sublime Text plugin)
Delete Lines is a Sublime Text plugin that adds a new command delete_lines
simulating the Delete Line Eclipse key command.
Sublime Text has a built-in macro called Delete Line.sublime-macro
(ctrl + shift + k
), but it works slightly different from the Eclipse' Delete Line when the selection includes the last line break.
Assuming there are three lines in the buffer and I am going to delete the second line.
Here is what the macro does.
Note that the third line is also deleted because the selection includes the line break on the second line.
This might be the right behavior, but not the expected behavior.
This plugin's delete_lines
command deletes only the second line with the same selection.
The attached key bindings are ctrl + shift + k
on all platforms.
{ "keys": ["ctrl+shift+k"], "command": "delete_lines" }
Installation
Using Package Control
If you already installed Package Control…
- Press
cmd + shift + p
(OS X) orctrl + shift + p
(Win, Linux) to open Command Pallette. - Type
package
and selectPackage Control: Install Package
from the list. - Search
Delete Lines
and install it.
Manual Installation
- On GitHub, press
Download Zip
button to download this repository as an archive. - Choose
Browse Packages...
from the menu of Sublime Text to open Packages directory. - Unarchive the downloaded zip in the Packages directory.
- Restart Sublime Text.
License
Delete Lines plugin is licensed under MIT License.