Diffable
Diff tool for Sublime Text editor
Details
Installs
- Total 137K
- Win 66K
- Mac 49K
- Linux 22K
Nov 15 | Nov 14 | Nov 13 | 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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 3 | 0 | 0 | 6 | 4 | 0 | 0 | 4 | 6 | 7 | 7 | 5 | 2 | 7 | 11 | 11 | 2 | 3 | 5 | 2 | 6 | 3 | 6 | 3 | 3 | 5 | 1 | 1 | 4 | 7 | 1 | 6 | 6 | 0 | 2 | 3 | 12 | 3 | 3 | 2 | 3 | 0 | 3 | 10 | 4 | 4 |
Mac | 1 | 0 | 0 | 6 | 4 | 4 | 2 | 0 | 3 | 4 | 5 | 9 | 1 | 0 | 5 | 6 | 2 | 7 | 5 | 2 | 2 | 5 | 4 | 3 | 5 | 5 | 4 | 0 | 10 | 4 | 3 | 6 | 3 | 0 | 2 | 6 | 4 | 4 | 7 | 3 | 1 | 1 | 4 | 4 | 5 | 1 |
Linux | 1 | 0 | 0 | 0 | 2 | 1 | 3 | 3 | 2 | 3 | 1 | 5 | 0 | 1 | 1 | 3 | 3 | 0 | 0 | 1 | 0 | 4 | 0 | 1 | 1 | 3 | 0 | 1 | 1 | 1 | 0 | 3 | 2 | 1 | 1 | 0 | 2 | 0 | 1 | 0 | 0 | 0 | 1 | 3 | 1 | 2 |
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
- To present inline diff of content of two opened tabs to one another.
- To pass the content of two opened tabs to Kaleidoscope diff app.
- 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:
- Install the plugin.
- Open two tabs in a row either way.
- Hit bindings bellow or run it by Sublime Text Command Pallet by typing
Diffable
. - Bonus: By hitting
super+k
followed bysuper+/
, you'll get inline diff view provided by Sublime Text.
Screenshots
Click to see screens
Bindings
- To compare and show the diffs, press
super + k
followed bysuper + d
. - To clear the marked lines, press
super + k
followed bysuper + c
. - To pass presented content into Kaleidoscope app press
super + k
followed bysuper + 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.