Use Lazygit with vscode, task and keyboard shortcut?
Hello, Developers fellows
Currently i have moved to vscode from Neovim and vscode is amazing in terms of editor performing as IDE.
One of the core thing i was missing from neovim setup while using visual studio code was lazygit, I did some research online if any documentation is there or not, but i dint get one.
So for you i have created one:
This feature can be achieved using tasks feature in vscode,
First you need to install lazygit respective to your system,
heres the link, https://github.com/jesseduffield/lazygit
Go to your your command pallete > tasks > configure tasks > create task from json file
after that add this as your task
after that go to your keyboard settings JSON file and use these configurations
after that simply using that key bindings which in my case is Alt + g for lazygit and Shift+Alt+g for terminating the task, it will open your lazygit insite your terminal,
hope it help you guys,
Keep Coding :-D