Emacs comes with a front end for git supporting a large subset of git s functionality.
Git gutter emacs.
Git gutter eldoes not work with linum modebut git gutter fringe elcan work with linum mode.
Emacs has char width function which returns character width.
Of course there s some things which can be improved but people have real life and other things to do so be kind.
In contrast git gutter fringe eldoes not work in tty frame emacs nw but git gutter elcan work in tty frame.
You add following s exp in your configuration file emacs d init el or emacs.
In terms of emacs ecosystem a year without commits means not too much.
But char width does not work for some full width characters.
So you should explicitly specify window width if you use full width character.
Just try it because git gutter works fine in the recent stable emacs.
Git gutter el provides global minor mode global git gutter mode and minor mode git gutter mode.
Git gutter el uses it for calculating character length of the signs.
You can use git gutter fringe even if you disable vc mode.
Unsubscribe from mike zamansky.
So you should explicitly specify window width if you use full width character.
Subscribe subscribed unsubscribe 6 17k.
Git gutter fringe does not use vc.
You could really care about state of a emacs package if you see 2014 year or even older.
While diff hl benefits from vc.
It supports git and many other version control system vcs.
Emacs has char width function which returns character width.
Git gutter el uses it for calculating character length of the signs.
It contains patches that haven t yet been added to git gutter changelog.
If you want to use git gutter for files in git repository.
Using emacs 42 git gutter and timemachine mike zamansky.
Add the following to your emacs file global git gutter mode t if you want to disable git gutter for some modes set the variable git gutter disabled modes.
For example if vc supports new vcs which is greater than git diff hl works with such vcs with no code modification.
You can not use both git gutter el and git gutter fringe el.
This is a good choice if you use other vcs besides git or have no desire to use features unique to git.
Emacs comes with a generic version control front end called versioncontrol or vc.
But char width does not work for some full width characters.