vim/gvim lazygit插件安装

先安装goDownload and install - The Go Programming Language

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

vim/gvim lazygit插件安装

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

vim/gvim 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)

上一篇:关于python出现"RequestsDependencyWarning"异常


下一篇:Flask框架(一)简介