【问题标题】:Windows Batch file enable quick edit for gitbashWindows 批处理文件启用 gitbash 的快速编辑
【发布时间】:2016-04-23 07:42:12
【问题描述】:

我设法从一个 bat 文件启动 gitbash,我还想启用快速编辑模式怎么做?谢谢。

cd "C:\Program Files (x86)\Git\bin\"
mode con: cols=160 lines=78
start sh.exe --login -i

【问题讨论】:

  • 如果启用一次快速编辑,以后的任何 shell 窗口都会支持它。
  • 当你通过批处理文件执行时它不会

标签: windows batch-file git-bash


【解决方案1】:

您可以设置注册表项以在当前用户启动的所有控制台窗口上启用 QuickEdit 模式。

reg add "HKCU\Console" /v "QuickEdit" /t REG_DWORD /d 1

您应该只需要运行一次此命令,直到您切换用户或重新安装您的操作系统。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2022-08-15
    • 2013-09-23
    • 2014-11-18
    • 1970-01-01
    • 2017-08-13
    • 2011-11-17
    • 1970-01-01
    • 2012-12-13
    相关资源
    最近更新 更多