zoukankan      html  css  js  c++  java
  • 在 Sublime Text 3 中快捷打开 git-gui

    在文件夹右键菜单上可以方便的打开 git-gui,在 st 里面也可以添加这个右键菜单。

    步骤如下:

    • 安装 SideBarEnhancements 插件。
    • 在 SideBarEnhancements 任意文件夹右键菜单上选择 Open With > Edit Applications...,编辑 Side Bar.sublime-menu 配置文件,在 children 数组里面添加如下成员:
    //git-gui
    {
        "caption": "Git-Gui",
        "id": "side-bar-dir-open-with-git-gui",
        "command": "side_bar_files_open_with",
        "args": {
            "paths": [],
            "application": "D:/Program Files/Git/cmd/git-gui.exe", // 这里改成你自己的路径
            "extensions":"",
            "args":["--working-dir"]
        },
        "open_automatically" : false 
    }
    
    //git-bash
    {
    	"caption": "Git-Bash",
    	"id": "side-bar-dir-open-with-git-bash",
    
    	"command": "side_bar_files_open_with",
    	"args": {
    						"paths": [],
    						"application": "D:/Program Files/Putty/gitbash.bat",
    						"extensions":"",
    						"args":[]
    					},
    	"open_automatically" : false
    }
    
    
    // gitbash.bat 内容如下
    "D:/Program Files/Git/git-bash.exe" --cd=%1
    

    参考

  • 相关阅读:
    C#中使用MATLAB
    各种插值法及效果图对比
    Visual Studio中你所不知道的智能感知
    C#中使用Surfer
    XCode中连接使用GitHub
    个人作业Week1
    个人作业Week3
    个人作业Week2
    第一次作业——subway
    执行ajax加载页面中的js总结
  • 原文地址:https://www.cnblogs.com/liaozt/p/6022473.html
Copyright © 2011-2022 走看看