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