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

Diffy

by zsong ALL

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

Details

Installs

  • Total 128K
  • Win 62K
  • Mac 45K
  • Linux 20K
Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18
Windows 1 11 10 11 5 3 1 13 14 5 13 16 4 7 15 17 19 17 15 7 9 20 16 14 12 15 6 5 7 8 16 14 5 3 7 10 19 14 14 14 4 2 10 6 15 17
Mac 0 9 6 18 12 4 1 14 8 10 8 10 3 3 11 9 12 14 10 1 9 4 8 8 15 12 5 3 7 7 8 12 12 0 5 17 14 18 14 12 3 4 10 4 19 16
Linux 0 5 2 4 4 2 0 3 2 2 3 2 0 1 2 6 7 5 4 0 3 1 8 3 3 4 3 1 0 2 3 2 1 0 2 2 4 5 5 4 2 0 5 2 0 5

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