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 126K
  • Win 61K
  • Mac 44K
  • Linux 20K
Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 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
Windows 10 12 22 12 14 4 2 16 14 18 20 12 4 2 15 23 13 18 19 3 3 14 17 18 22 18 6 6 16 19 17 13 23 8 2 21 13 25 20 23 10 7 16 17 11 16
Mac 12 17 15 19 10 3 3 10 14 21 13 11 4 2 10 9 14 19 14 2 3 11 17 16 14 18 3 4 7 10 12 15 9 4 5 9 13 6 12 12 0 5 16 19 16 15
Linux 3 5 1 3 6 2 2 4 4 3 5 2 0 2 7 3 3 2 2 2 1 4 2 6 5 4 0 0 4 2 0 5 2 1 0 3 7 7 3 1 1 2 2 6 1 4

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