jesseduffield.lazygit/pkg/gui
Stefan Haller 74ed1ac584 Support per-repo config files
For now we only support .git/lazygit.yml; in the future we would also like to
support ./.lazygit.yml, but that one will need a trust prompt as it could be
versioned, which adds quite a bit of complexity, so we leave that for later.

We do, however, support config files in parent directories (all the way up to
the root directory). This makes it possible to add a config file that applies to
multiple repos at once. Useful if you want to set different options for all your
work repos vs. all your open-source repos, for instance.
2024-08-18 10:24:52 +02:00
..
context Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
controllers Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
filetree Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00
keybindings Add range selection ability on list contexts 2024-01-19 10:47:21 +11:00
mergeconflicts Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00
modes rename sha to hash 5 2024-04-12 08:33:47 +02:00
patch_exploring Fix pressing escape after clicking in diff view 2024-08-17 11:30:38 +02:00
popup Allow editing a custom command from the suggestions list by pressing 'e' 2024-05-19 07:06:18 +02:00
presentation Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
services/custom_commands Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
status Clean up error handling of WithWaitingStatus and WithWaitingStatusSync 2024-04-18 10:10:30 +02:00
style Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00
types Expose SelectedCommit to custom commands, deprecate Selected{Local,Reflog,Sub}Commit 2024-08-17 11:26:31 +02:00
background.go Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
command_log_panel.go Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
context.go Expose SelectedCommit to custom commands, deprecate Selected{Local,Reflog,Sub}Commit 2024-08-17 11:26:31 +02:00
context_config.go move some methods 2023-04-30 13:19:53 +10:00
controllers.go When using the panel jump keys and the target panel is already active, switch tabs 2024-08-17 10:37:00 +02:00
dummies.go Optimize number of early calls to GetRepoPaths 2024-07-06 12:09:48 -07:00
editors.go Add emacs-keybinds for word navigation 2023-08-15 12:22:17 +02:00
extras_panel.go Replace CurrentSideContext() with Context().CurrentSide() 2024-08-17 11:14:51 +02:00
global_handlers.go Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
gui.go Support per-repo config files 2024-08-18 10:24:52 +02:00
gui_common.go Replace ActivateContext() with Context().Activate() 2024-08-17 11:14:51 +02:00
gui_driver.go Replace CurrentContext() with Context().Current() 2024-08-17 11:14:51 +02:00
information_panel.go Use utils.StringWidth to optimize rendering performance 2024-06-23 13:10:48 +02:00
keybindings.go Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
layout.go Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
main_panels.go Run PTY tasks after layout so that they get the correct view size 2024-06-23 12:36:40 +02:00
menu_panel.go Replace PushContext() with Context().Push() 2024-08-17 11:14:50 +02:00
options_map.go Replace CurrentContext() with Context().Current() 2024-08-17 11:14:51 +02:00
pty.go Fix possible off-by-one error wrt PTY size 2024-06-23 12:36:40 +02:00
pty_windows.go Format code to pass lint 2021-09-16 21:38:43 +08:00
recent_repos_panel.go Optimize number of early calls to GetRepoPaths 2024-07-06 12:09:48 -07:00
tasks_adapter.go Use an interface for tasks instead of a concrete struct 2023-07-10 17:12:21 +10:00
test_mode.go Don't wait in integration tests when running in headless mode 2024-06-05 14:44:02 +02:00
view_helpers.go Replace CurrentStaticContext() with Context().CurrentStatic() 2024-08-17 11:14:51 +02:00
views.go Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00