gpt4 book ai didi

emacs - Magit:有没有办法为默认的 magit-status 缓冲区切换 --ignore-all-space 选项?

转载 作者:行者123 更新时间:2023-12-01 01:39:57 26 4
gpt4 key购买 nike

在 magit-status 缓冲区中,我可以按 d-wd在文件上打开一个 magit-diff 缓冲区,其中包含该特定文件的差异,而没有空格更改。当我回到 magit-status 时,那里的差异仍然显示原始空白的变化。我不确定这是否已经内置到 magit 中,但我希望原始 magit-status 缓冲区也忽略空格更改(能够切换这将是惊人的)

最佳答案

magit-status , 按 d 进入差异模式就像你所做的那样。让您的 -w改变。然后按 C-x查看有更多可用项目的扩展 magit 菜单。然后你会看到 C-s是一种保存设置的方法 您已经为 future 的 session 制作了(例如, --ignore-all-space )。

关于emacs - Magit:有没有办法为默认的 magit-status 缓冲区切换 --ignore-all-space 选项?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59365751/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com