In Jetbrains products, like IntelliJ and RubyMine, you can hit F4 in the diff window of a git diff to jump to to the current edit. Is there any functionality in Magit for emacs to go directly to a diff from git?

有帮助吗?

解决方案

Magit does this by default pretty much everywhere. Just hit RET / Enter to jump to the source code for the current diff hunk.

magit-visit-item is the function.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top