emacsorphanage/git-gutter

Emacs freezes when deleting long chunks from big files

Opened this issue · 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?