A plugin for Sublime Text that allows you to remove duplicate lines from files and selections.
-
Package Control
- Install Package Control
- Bring up the Command Palette and type "Package Control: Install Package"
- Type "RemoveDuplicateLines" and press enter
-
Directly
- Locate the
Packages
folder in the data directory - Download the latest version of RemoveDuplicateLines
- Extract the archive into the
Packages
folder
- Locate the
-
Development
- Keyboard - shiftF5 on all platforms. You might also need to hold (fn) depending on your OS/BIOS configuration.
- Command Palette - press cmdshiftp (or ctrlshiftp), type "Remove Duplicate Lines," and press enter.
- Menu - open the
Edit
menu and click on theRemove Duplicate Lines
command option towards the bottom.
This plugin can be used in two different ways:
-
Without a selection
This removes all duplicate lines, leaving the first occurrence of each line to be unique to the entire file.
Before After -
With a selection
This removes all duplicate lines within one or more selection(s).
Before After
See CHANGELOG.md
See CONTRIBUTING.md
See LICENSE.md