开发者

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

开发者 https://www.devze.com 2023-01-27 04:52 出处:网络
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 mark

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

精彩评论

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