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

Diffable

Diff tool for Sublime Text editor

Details

Installs

  • Total 136K
  • Win 66K
  • Mac 49K
  • Linux 21K
May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 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
Windows 0 7 4 3 8 5 2 1 5 4 6 8 5 1 0 6 11 6 5 2 3 2 2 5 4 9 6 5 2 6 5 5 6 4 4 1 3 8 8 3 6 1 4 5 5 6
Mac 0 4 4 4 4 4 1 6 2 4 8 4 10 1 2 7 4 8 9 5 4 2 4 3 5 4 7 2 3 7 3 8 7 1 2 3 7 3 7 5 9 5 3 2 4 8
Linux 0 2 4 1 0 3 2 1 1 1 0 0 2 1 1 2 3 2 3 2 1 0 1 2 1 3 3 0 0 1 3 2 1 0 4 2 1 0 2 4 2 0 1 2 1 1

Readme

Source
raw.​githubusercontent.​com

Diffable

This is a file comparison plugin for Sublime Text ¾, it relies on its internal Incremental Diff feature.

Enjoy!

Features

  1. To present inline diff of content of two opened tabs to one another.
  2. To pass the content of two opened tabs to Kaleidoscope diff app.
  3. To clear inline diff.

Installation

Please install Sublime Package Control first. Then inside Package Control: Install Package, type Diffable and then click to confirm.

Usage

It's as easy as just:

  1. Install the plugin.
  2. Open two tabs in a row either way.
  3. Hit bindings bellow or run it by Sublime Text Command Pallet by typing Diffable.
  4. Bonus: By hitting super+k followed by super+/, you'll get inline diff view provided by Sublime Text.

Screenshots

Click to see screens

Bindings

  1. To compare and show the diffs, press super + k followed by super + d.
  2. To clear the marked lines, press super + k followed by super + c.
  3. To pass presented content into Kaleidoscope app press super + k followed by super + o.

Settings

The default key binding for Mac is

{ "keys": ["super+k", "super+d"], "command": "diffable", "args": {"action": "inline"} }
{ "keys": ["super+k", "super+c"], "command": "diffable", "args": {"action": "clear"} }
{ "keys": ["super+k", "super+o"], "command": "diffable", "args": {"action": "kaleidoscope"} }

The default key binding for Windows / Linux is

{ "keys": ["ctrl+k", "ctrl+d"], "command": "diffable", "args": {"action": "inline"} }
{ "keys": ["ctrl+k", "ctrl+c"], "command": "diffable", "args": {"action": "clear"} }

Warning There's no version of Kaleidoscope app for both Windows and Linux.

Known issues

Inline diffs looks corrupted on git repos uncommited changes, to fix that please commit or reset your local changes.

Disclaimer

Note This plugin is a refactored and updated verion of an ammazing plugin https://github.com/zsong/diffy which is seems depricated long ago.

Note None of the team stand behind Kaleidoscope app have paid me any amount for being a part of this plugin behind the scene. Though they were so kind to provide me a code snippet that let me integrate with their tool in a smooth way.

Note Therefore any other diffing tool are more than welcome to become integrated on the same terms as they were — by PR to that repo.