diff --git a/FileDiffs.sublime-settings b/FileDiffs.sublime-settings new file mode 100644 index 0000000..9f96bf4 --- /dev/null +++ b/FileDiffs.sublime-settings @@ -0,0 +1,12 @@ +{ + + // just uncomment one of the examples + // or write your own command + + // opendiff (FileMerge) + //"cmd": ["opendiff", "$file1", "$file2"] + + // ksdiff (Kaleidoscope) + //"cmd": ["ksdiff", "$file1", "$file2"] + +} \ No newline at end of file diff --git a/Main.sublime-menu b/Main.sublime-menu new file mode 100644 index 0000000..edb3be8 --- /dev/null +++ b/Main.sublime-menu @@ -0,0 +1,27 @@ +[ + { + "caption": "Preferences", + "mnemonic": "n", + "id": "preferences", + "children": + [ + { + "caption": "Package Settings", + "mnemonic": "P", + "id": "package-settings", + "children": + [ + { + "caption": "FileDiffs", + "children": + [ + { "command": "open_file", "args": {"file": "${packages}/FileDiffs/FileDiffs.sublime-settings"}, "caption": "Settings – Default" }, + { "command": "open_file", "args": {"file": "${packages}/User/FileDiffs.sublime-settings"}, "caption": "Settings – User" }, + { "caption": "-" } + ] + } + ] + } + ] + } +] diff --git a/package-metadata.json b/package-metadata.json new file mode 100644 index 0000000..bba010e --- /dev/null +++ b/package-metadata.json @@ -0,0 +1 @@ +{"url": "https://github.com/spape/SublimeFileDiffs", "version": "0.9", "description": "Shows diffs - also in an external diff tool - between the current file, or selection(s) in the current file, and clipboard, another file, or unsaved changes."} \ No newline at end of file