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 130K
  • Win 63K
  • Mac 46K
  • Linux 21K
Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9
Windows 0 2 7 12 17 11 14 2 1 12 20 13 11 15 6 1 14 18 12 23 14 3 6 10 19 7 16 11 5 7 13 16 9 12 9 8 10 18 14 16 19 19 3 6 11 18
Mac 0 2 10 16 16 14 13 5 4 4 12 15 13 13 3 1 15 10 11 16 5 6 4 14 12 6 9 7 5 2 9 8 12 12 8 3 7 14 6 9 15 11 2 6 14 15
Linux 0 1 3 1 4 2 3 0 0 5 4 1 4 3 2 4 2 5 3 4 1 0 1 4 3 1 5 2 3 2 4 5 2 10 2 1 0 4 5 5 3 2 1 2 6 2

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