git-gutter icon indicating copy to clipboard operation
git-gutter copied to clipboard

Emacs freezes when deleting long chunks from big files

Open bechampion opened this issue 6 months ago • 0 comments

When git-gutter is enabled , and you have a substantially large files (50k lines) , if you delete let's say 100 you notice a hiccup, if you delete 20k emacs doesn't come back. File needs to be checked in git of course. For now im using this

  "Enable a specific mode if the buffer has fewer than 1000 lines."
  (when (< (count-lines (point-min) (point-max)) 1000)
    (git-gutter-mode)))

(add-hook 'find-file-hook 'enable-mode-for-small-files)

Have any of you experienced this?

bechampion avatar Jul 30 '24 08:07 bechampion