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

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