HN2new | past | comments | ask | show | jobs | submitlogin

I love magit. If you deal with a lot of PRs the forge extension is also very nice.

My only beef is the main interface can feel very slow sometimes.

I've learned to start using the functions directly from the M-x command line when I can. Like rather than going to the main magit interface to stage a file, just M-x stage-file. Time to stash? M-x magit-stash, etc. No need to jump to the main magit UI much of the time.



You can remove things you don't need. For example:

;; who cares about tags to be displayed in magit-refs buffer?

(remove-hook 'magit-refs-sections-hook 'magit-insert-tags)

Also there are faster shortcuts, like you said, e.g: `magit-file-dispatch (C-c M-g)`


It chokes when there are a large number of changes too because it's cycling through all the individual diffs that are initially hidden. I honestly wish there was a sparse mode to keep the initial magit status buffer as minimal as "git status".


You can also use `C-g` to interrupt the diffing algorithm if you just want to get to the minimal git status buffer. In fact that is the recommended way to deal with it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: