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 91K
  • Win 44K
  • OS X 32K
  • Linux 15K
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 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5
Windows 33 43 33 43 52 12 10 29 28 23 25 29 5 8 19 43 49 34 36 10 6 23 22 30 36 19 11 10 22 33 23 37 26 14 6 29 37 33 27 35 9 12 32 28 27 36
OS X 16 20 15 17 24 8 5 17 25 13 16 18 7 2 6 16 20 20 16 5 6 17 20 15 26 17 9 8 15 17 31 17 18 6 6 17 17 16 15 23 5 5 18 18 18 27
Linux 8 6 7 13 7 3 4 10 8 11 11 9 2 5 12 9 6 11 11 1 2 8 5 9 8 5 5 2 4 6 7 10 9 1 3 14 9 9 9 15 2 4 5 7 4 9

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