其他分享
首页 > 其他分享> > vim/gvim lazygit插件安装

vim/gvim lazygit插件安装

作者:互联网

先安装goDownload and install - The Go Programming Language

安装方法:下载msi文件进行安装,可更改安装路径,然后在终端,比如powershell中输入>go version查看版本号,若显示版本号则表示安装成功,然后在lazygit目录下运行>go install安装插件

然后在powershell中输入>lazygit,似乎有点问题

 

 

 

 

  1. Open the MSI file you downloaded and follow the prompts to install Go.

    By default, the installer will install Go to Program Files or Program Files (x86). You can change the location as needed. After installing, you will need to close and reopen any open command prompts so that changes to the environment made by the installer are reflected at the command prompt.

  2. Verify that you've installed Go.
    1. In Windows, click the Start menu.
    2. In the menu's search box, type cmd, then press the Enter key.
    3. In the Command Prompt window that appears, type the following command:
      $ go version
      
    4. Confirm that the command prints the installed version of Go.

git clone仓库到plugins目录

Manual

You'll need to install Go

git clone https://github.com/jesseduffield/lazygit.git
cd lazygit
go install
 

You can also use go run main.go to compile and run in one go (pun definitely intended)

标签:插件,lazygit,gvim,Go,command,install,go,安装
来源: https://www.cnblogs.com/dogingate/p/15865884.html