This forum allows you to share scripts with other Zeus users. Please do not post bug reports, feature requests or questions to this forum, but rather use it exclusively for posting scripts or for the discussion of scripts that have been posted.
- Posts: 14
- Joined: Sun Dec 10, 2006 3:14 pm
This simple script will take the current buffer and the one to its right (in the tab order) and run an external diff between them.
To use a different diff utility, change the 'local cmd = ...' line.
Code: Select all
local fname1 = get_file_name()
local fname2 = get_file_name()
local cmd = 'winmerge.exe /e "' .. fname1 .. '" "' .. fname2 .. '"'