zoukankan      html  css  js  c++  java
  • [daily] 使用左右对比查看diff 格式的文件

    如题:

    Given your references to Vim in the question, I'm 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生疏了,不会用。暂时先不弄了。

  • 相关阅读:
    密码学基础(三)
    密码学基础(二)
    密码学基础(一)
    Lambda代数
    恢复系统
    11.22面试例题
    js中级复习
    11.12
    11.13
    定时器
  • 原文地址:https://www.cnblogs.com/hugetong/p/8874696.html
Copyright © 2011-2022 走看看