Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Jetbrains 产品中,如 IntelliJ 和 RubyMine,您可以在 git diff 的 diff 窗口中按 F4 以跳转到当前编辑。Magit 中是否有任何功能可以让 emacs 直接从 git 获取差异?
默认情况下,Magit 几乎在所有地方都这样做。只需点击RET/Enter即可跳转到当前 diff hunk 的源代码。
magit-visit-item是函数。
magit-visit-item