Skip to content

Remove duplicate lines from a file (Keywords: remove duplicates, delete duplicates, dedup)

License

Notifications You must be signed in to change notification settings

ilyakam/RemoveDuplicateLines

Repository files navigation

RemoveDuplicateLines - A Sublime Text Plugin

A plugin for Sublime Text that allows you to remove duplicate lines from files and selections.

Installation

Usage

  • 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 the Remove Duplicate Lines command option towards the bottom.

This plugin can be used in two different ways:

  1. Without a selection

    This removes all duplicate lines, leaving the first occurrence of each line to be unique to the entire file.

    Before After
    without_selection_before without_selection_after
  2. With a selection

    This removes all duplicate lines within one or more selection(s).

    Before After
    with_selection_before with_selection_after

Changelog

See CHANGELOG.md

Contributing

See CONTRIBUTING.md

License

See LICENSE.md

About

Remove duplicate lines from a file (Keywords: remove duplicates, delete duplicates, dedup)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages