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 81K
  • Win 39K
  • OS X 29K
  • Linux 13K
Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3
Windows 26 36 36 12 9 33 33 46 49 33 19 10 25 35 31 45 35 7 11 42 35 27 49 40 16 16 39 31 42 41 43 7 18 30 46 46 31 27 11 14 47 15 51 34 38 11
OS X 22 26 20 8 8 32 23 15 20 29 2 2 20 25 12 13 26 3 9 21 17 26 17 24 5 9 15 22 18 26 27 4 4 23 29 28 30 20 6 7 26 11 26 31 23 8
Linux 10 7 9 1 3 8 9 10 12 12 2 3 11 9 13 10 14 6 3 6 5 12 12 13 2 2 13 17 13 8 14 4 1 4 15 11 7 6 6 1 8 6 9 15 10 3

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"} }