https://github.com/cuixiaorui/quickopenlazygit
quick open lazygit on vscode
https://github.com/cuixiaorui/quickopenlazygit
Last synced: 6 months ago
JSON representation
quick open lazygit on vscode
- Host: GitHub
- URL: https://github.com/cuixiaorui/quickopenlazygit
- Owner: cuixiaorui
- Created: 2022-07-05T07:37:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-11T18:09:25.000Z (over 2 years ago)
- Last Synced: 2025-04-10T03:56:45.220Z (9 months ago)
- Language: TypeScript
- Size: 50.8 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# quickOpenLazygit
quick open lazygit geek
## Why
Vscode itself can quickly open external terminal, but does not support args passing.
For example, enter `ls` or blabla when opening terminal
What I need is to run `lazygit` when I open the external terminal
Open lazyGit with shortcut
So this plugin was written to meet the need
The implementation principle is very simple, internal through `exec` to execute shell script
The `ttab` cli tool is used to open Terminal, so you need to make sure that `ttab` is installed when using this plug
## Usage
1. first you must be install [ttab](https://github.com/mklement0/ttab)
2. execute shortcut key `cmd+g o`
## Options
If you use `iTerm2` then you can configure it in "settings.json"
```
// settings.json
// default value is false
quickOpenLazygit.useITerm = true
```
## Issues
Iterm may not work if you don't open it in advance
You can open iterm and try again