Emacs + magit - 垂直责备

标签 emacs magit

我最近决定从 vim 切换到 spacemacs,它已经包含了 magit。使用 Vim 时,很容易显示 :Gblame,它显示带有提交、作者和并排代码的垂直菜单(类似于原始 git blame 的工作方式)。

我发现了 magit-blame,但它以不同的方式(提交、作者和下面的代码)显示差异,这对我来说似乎不自然。是否可以将此 View 更改为类似于 Fugitive 的工作方式?我知道 emacs 是几乎无限可能的编辑器,所以它必须以某种方式成为可能。

我还发现我可以使用 vc-annotate 但它不保留语法突出显示。

最佳答案

看起来现在已经支持了(参见 tarsius 的链接)!

运行 magit-blame ,然后 magit-blame-cycle-style (或 magit-blame 然后是 c )循环到垂直模式。

关于Emacs + magit - 垂直责备,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34331520/

相关文章:

emacs - 如何在 Emacs/Elisp 中查找并插入多行的平均值?

windows - 在windows中设置emacs环境?

python - Spacemacs python层: Invalid version syntax

emacs - 如何为 Emacs 修复损坏的 Lisp 目录路径?

git - 关闭 magit-mode 提交格式化

git - 针对 pull 请求的 emacs 开发最多的 magit/github 扩展

git - magit-grep,如何包含或排除文件扩展名?

emacs - 如何在目录中递归查找文件

git - 修改在 magit 中作为 rebase 的一部分编辑的提交

emacs magit : git-dir is not in the default place