开发者

How do I add diff markers to the fringe in emacs?

I'm using GNU Emacs 23, but answers for other emacsen are welcome as a jumping-off point.

For files under version control I'd like to have diff markers show up in the fringe, something like the markers that subclipse uses:

How do I add diff markers to the fringe in emacs?

(source: tigris.org)

It seems like this would be possible by parsing the output of vc-diff and using the built-in support for the fringe, but I don't want to reinvent this particular wheel unless I really 开发者_Python百科have to.


Not quite the same, but you could diff the file and then use MiniMap.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜