Skip to content

Latest commit

 

History

History
101 lines (59 loc) · 3.31 KB

File metadata and controls

101 lines (59 loc) · 3.31 KB

Lazygit for VSCode README

This is an extension that allows you to open lazygit in your VSCode instace without a bunch of steps. Lazygit is a TUI (Terminal User Interface) git client.

Features

  • cmd+g g or ctrl+g g for opening lazygit
  • You can also server for lazygit in the command pallet (cmd + shift + p -> lazygit)
  • users can add a custom keybind to the function lazygit.openLazygit.

Requirements

Configuration

Set the following in your LazyGit config for VSCode support:

  • Linux: ~/.config/lazygit/config.yml
  • MacOS: ~/Library/Application\ Support/lazygit/config.yml
  • Windows: %LOCALAPPDATA%\lazygit\config.yml (default location, but it will also be found in %APPDATA%\lazygit\config.yml
os:
  editPreset: "vscode"

This allows a pretty slick experience opening windows & files on specific changes with e and o in LazyGit.

Known Issues

Release Notes

  • If lazygit is already open, the focus is returned to the terminal, instead of opening a new instance of lazygit.
  • Fixed issue: when lazygit is opened, if any other terminals are active, terminal panel is not opened.

1.0.0

Initial release of lazygit for VSCode

1.0.1

1.0.2

1.0.3

1.0.4

  • After quiting lazygit, the terminal is exited and the focus is returned to the editor

1.0.5

  • If lazygit is already open, the focus is returned to the terminal, instead of opening a new instance of lazygit.
  • Fixed issue: when lazygit is opened, if any other terminals are active, terminal panel is not opened.

1.0.6

  • Fixed issue: [BUG] Terminal does not move to editor consistently in WSL #7 with PR #9

1.0.7

  • Feature: Add custom command for powershell & other shells #15, user can now add custom command for powershell and other shells in the settings.

Contributing

  • If you have any suggestions or issues, feel free to open an issue or a PR against the main branch.

Enjoy!