Sorts your lines in Atom, never gets tired. Also includes sort-all-the-things (ctrl-shift-a) which sorts the lines naturally and removes duplicates in one fell swoop.
All of the following commands are under the atom-text-editor
selector.
If any lines are selected in the active buffer, the commands operate on the selected lines. Otherwise, the commands operate on all lines in the active buffer.
Keypress | Command | Description |
---|---|---|
sort-lines:sort |
Sorts the lines (case sensitive) | |
sort-lines:case-insensitive-sort |
Sorts the lines (case insensitive) | |
sort-lines:natural |
Sorts the lines ("natural" order) | |
sort-lines:reverse-sort |
Sorts the lines in reverse order (case sensitive) | |
sort-lines:unique |
Removes duplicate lines | |
ctrl-shift-a | sort-lines:sort-all-the-things |
Sorts the lines naturally and removes duplicates |