Ver Fonte

fix(lazygit): prevent lazygit from CPU-hogging by disabling refresh

Joe há 9 meses atrás
pai
commit
4fda55356c
1 ficheiros alterados com 4 adições e 2 exclusões
  1. 4 2
      .config/lazygit/config.yml

+ 4 - 2
.config/lazygit/config.yml

@@ -22,6 +22,8 @@ gui:
     selectedLineBgColor:
       - yellow
 git:
+  autoFetch: false
+  autoRefresh: false
   overrideGpg: true
   commit:
     autoWrapCommitMessage: true
@@ -31,8 +33,8 @@ os:
   editAtLine: "$DOTFILES_DIR/.scripts/lazygit_nvim_editor.zsh {{filename}} {{line}}"
   editAtLineAndWait: "$DOTFILES_DIR/.scripts/lazygit_nvim_editor.zsh {{filename}} {{line}}"
   editInTerminal: false
-refresher:
-  refreshInterval: 2
+update:
+  method: never
 
 customCommands:
   - key: "<c-c>"