Diff file or text segment with hotkey