Diffable
Diff tool for Sublime Text editor
Details
Installs
- Total 138K
- Win 67K
- Mac 50K
- Linux 22K
Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 3 | 0 | 1 | 1 | 8 | 12 | 10 | 7 | 1 | 0 | 5 | 6 | 5 | 6 | 2 | 2 | 2 | 5 | 8 | 0 | 1 | 2 | 1 | 1 | 3 | 2 | 3 | 10 | 9 | 2 | 4 | 8 | 11 | 6 | 9 | 6 | 1 | 4 | 6 | 5 | 2 | 5 | 6 | 2 |
Mac | 0 | 4 | 5 | 4 | 0 | 4 | 5 | 5 | 4 | 2 | 1 | 0 | 4 | 7 | 7 | 3 | 3 | 3 | 3 | 4 | 3 | 1 | 1 | 7 | 2 | 4 | 8 | 5 | 1 | 6 | 6 | 1 | 0 | 8 | 6 | 6 | 4 | 5 | 1 | 3 | 3 | 10 | 6 | 5 | 6 | 0 |
Linux | 1 | 4 | 1 | 1 | 23 | 26 | 0 | 13 | 1 | 0 | 2 | 2 | 2 | 2 | 2 | 0 | 3 | 0 | 2 | 2 | 4 | 0 | 1 | 0 | 2 | 0 | 0 | 1 | 2 | 2 | 2 | 0 | 1 | 3 | 1 | 1 | 1 | 2 | 2 | 0 | 2 | 0 | 0 | 1 | 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.