Delete Lines
Sublime Text plugin simulates Delete Line command in Eclipse
Details
Installs
- Total 6K
- Win 3K
- Mac 2K
- Linux 611
Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | Feb 12 | Feb 11 | Feb 10 | Feb 9 | Feb 8 | Feb 7 | Feb 6 | Feb 5 | Feb 4 | Feb 3 | Feb 2 | Feb 1 | Jan 31 | Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 |
Linux | 0 | 1 | 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 | 1 | 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.