Home » Extra libraries, Code snippets, applications etc. » U++ Esc Interpreter, Esc Macros and templates » A simple macro to run LazyGit for the active package via TheIDE
A simple macro to run LazyGit for the active package via TheIDE [message #61419] |
Sat, 01 February 2025 10:26 |
Oblivion
Messages: 1211 Registered: August 2007
|
Senior Contributor |
|
|
The macro below runs the LazyGit application on the terminal for the active package.
This is to simplify git management. Currently, TheIDE's git integration is very limited. To compensate this, you can use the below macro on any POSIX system.
(I am using Bobcat with a predefined LazyGit profile here, but you can modify it easily to suit your needs. For example you can set different LazyGit operations per macro, etc.).
macro "Run LazyGit" Ctrl+Shift+Space {
Launch("/usr/bin/bobcat -p LazyGit -d \"" + PackageDir(ActivePackage()) + "\"");
}
Best regards,
Oblivion
Github page: https://github.com/ismail-yilmaz
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
[Updated on: Sat, 01 February 2025 10:31] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun Jun 15 02:57:44 CEST 2025
Total time taken to generate the page: 0.04599 seconds
|