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 77K
  • Win 37K
  • OS X 28K
  • Linux 13K
Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 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
Windows 13 43 35 38 34 11 13 43 34 38 39 35 20 15 37 35 41 48 38 11 17 28 36 51 42 33 6 23 39 37 51 41 35 8 13 36 43 45 47 31 12 15 56 36 45 37
OS X 3 23 38 24 25 9 8 30 26 19 31 26 11 12 21 32 22 26 16 10 5 24 26 30 25 20 6 12 19 30 26 28 24 12 4 29 32 30 18 17 8 16 28 37 38 24
Linux 2 9 11 16 20 0 5 11 11 10 8 9 5 2 6 9 10 12 12 6 2 2 10 13 12 6 2 4 11 8 14 14 16 2 6 13 11 13 11 8 3 5 12 12 11 21

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