ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Diffy

by zsong ST2/ST3

A sublime plugin to show difference between 2 files. It supports both Sublime 2 and 3.

Details

Installs

  • Total 97K
  • Win 47K
  • OS X 34K
  • Linux 16K
Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8
Windows 1 15 20 31 18 22 21 11 9 16 19 28 31 27 20 6 22 25 20 38 33 7 11 27 27 36 21 23 6 13 24 32 30 30 35 6 6 21 16 28 31 24 9 8 27 28
OS X 0 3 11 22 17 23 16 2 4 13 15 19 29 16 6 0 18 25 12 11 21 4 5 14 17 25 17 19 5 1 19 28 13 19 18 10 6 20 12 19 18 19 13 6 16 12
Linux 0 2 12 7 6 9 11 1 5 7 7 13 9 9 1 1 6 12 8 11 9 0 2 4 6 8 7 13 2 2 6 9 7 5 9 2 2 7 15 4 3 13 2 3 10 7

Readme

Source
raw.​githubusercontent.​com

Diffy

This is a file comparison plugin for both Sublime 2 and 3.

Enjoy!

Installation

Please install Sublime Package Control first. Then inside Package Control: Install Package, type Diffy and then click to confirm.

Usage

After installing the plugin, set the layout to be 2 columns via View -> Layout -> Columns: 2. And make sure you have files (or temporary files pasted from clipboard) opened side by side.

  1. To compare and show the diffs, press CTRL + k followed by CTRL + d.
  2. To clear the marked lines, press press CTRL + k followed by CTRL + c.

Settings

The default key binding for Mac is

{ "keys": ["super+k", "super+d"], "command": "diffy" }
{ "keys": ["super+k", "super+c"], "command": "diffy", "args": {"action": "clear"} }

The default key binding for Windows / Linux is

{ "keys": ["ctrl+k", "ctrl+d"], "command": "diffy" }
{ "keys": ["ctrl+k", "ctrl+c"], "command": "diffy", "args": {"action": "clear"} }