码迷,mamicode.com
首页 > 其他好文 > 详细

[daily] 使用左右对比查看diff 格式的文件

时间:2018-04-18 15:20:58      阅读:199      评论:0      收藏:0      [点我收藏+]

标签:hat   this   com   unifi   wan   tps   格式   tom   visual   

 

如题:

 

Given your references to Vim in the question, Im not sure if this is the answer you want :) but Emacs can do this. 
Open the file containing the diff, make sure that you
re in diff-mode (if the file is named foo.diff or foo.patch
this happens automatically; otherwise type M-x diff-mode RET), go to the hunk you are interested in and hit C-c C-b
for refine-hunk. Or step through the file one hunk at a time with M-n; that will do the refining automatically.

https://stackoverflow.com/questions/3231759/how-can-i-visualize-per-character-differences-in-a-unified-diff-file

 

emacs生疏了,不会用。暂时先不弄了。

 

[daily] 使用左右对比查看diff 格式的文件

标签:hat   this   com   unifi   wan   tps   格式   tom   visual   

原文地址:https://www.cnblogs.com/hugetong/p/8874696.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!