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

Diffy

by zsong ST2/ST3

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

Details

Installs

  • Total 99K
  • Win 48K
  • OS X 35K
  • Linux 16K
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 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28
Windows 27 24 7 8 25 34 27 37 20 11 9 24 19 37 27 29 10 4 30 37 21 26 33 12 6 22 28 26 22 19 9 13 22 45 25 21 28 3 10 20 22 35 20 28 11 15
OS X 24 20 7 7 22 18 15 24 13 9 5 19 19 14 20 17 3 13 15 20 16 24 18 5 5 24 20 13 15 15 4 6 20 19 16 24 16 7 6 19 13 15 25 15 5 6
Linux 7 4 3 6 11 7 9 7 4 3 4 8 13 5 8 7 4 5 13 7 6 8 9 2 0 4 11 12 5 6 1 2 10 9 8 7 7 3 0 10 16 8 7 7 3 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"} }