Code
How jesseduffield/lazygit is laid out, and where to start for common changes.
There is no import map for this report yet.
Where to start reading
- Repository root
- Repository root
- Likely start-up file
- Suggested starting pointAI
- Suggested starting pointAI
- Suggested starting pointAI
- Suggested starting pointAI
- Suggested starting pointAI
Find files for a task
AIAdd a new git command operation
- Add the git command method to the main Git wrapper
- Build the command object with flags and options
Add a new UI panel or context
- Create a new context file in pkg/gui/context/ extending base_context.go
- Define keybindings and action handlers specific to the new panel
- Register the context in the main app initialization
- Wire background rendering or refresh hooks if needed
Add a new configuration option
- Define the config field and YAML tag in the Config struct
- Add platform-specific defaults if needed
- Apply the config value to relevant components (e.g., theme, keybindings)
- Generate updated config documentation
Internationalize a new string
- Add the English string to the translation map
- Use the i18n.T() function in the UI code to reference it
- Translations for other languages are kept in JSON files
Trace runtime behavior
Add or update tests
Change build or automation
RepoPilot lists up to 500 files, so a file missing here may still exist.
- Files marked “likely” are guessed from their names.